Boni García, Carlos Delgado Kloos, Carlos Alario-Hoyos, Mario Munoz-Organero
{"title":"Selenium-JupiterSelenium WebDriver 的 JUnit 5 扩展","authors":"Boni García, Carlos Delgado Kloos, Carlos Alario-Hoyos, Mario Munoz-Organero","doi":"arxiv-2402.01480","DOIUrl":null,"url":null,"abstract":"Selenium WebDriver is a library that allows controlling web browsers (e.g.,\nChrome, Firefox, etc.) programmatically. It provides a cross-browser\nprogramming interface in several languages used primarily to implement\nend-to-end tests for web applications. JUnit is a popular unit testing\nframework for Java. Its latest version (i.e., JUnit 5) provides a programming\nand extension model called Jupiter. This paper presents Selenium-Jupiter, an\nopen-source JUnit 5 extension for Selenium WebDriver. Selenium-Jupiter aims to\nease the development of Selenium WebDriver tests thanks to an automated driver\nmanagement process implemented in conjunction with the Jupiter parameter\nresolution mechanism. Moreover, Selenium-Jupiter provides seamless integration\nwith Docker, allowing the use of different web browsers in Docker containers\nout of the box. This feature enables cross-browser testing, load testing, and\ntroubleshooting (e.g., configurable session recordings). This paper presents an\nexample case in which Selenium-Jupiter is used to evaluate the performance of\nvideo conferencing systems based on WebRTC. This example case shows that\nSelenium-Jupiter can build and maintain the required infrastructure for complex\ntests effortlessly.","PeriodicalId":501310,"journal":{"name":"arXiv - CS - Other Computer Science","volume":"16 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-02-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Selenium-Jupiter: A JUnit 5 extension for Selenium WebDriver\",\"authors\":\"Boni García, Carlos Delgado Kloos, Carlos Alario-Hoyos, Mario Munoz-Organero\",\"doi\":\"arxiv-2402.01480\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Selenium WebDriver is a library that allows controlling web browsers (e.g.,\\nChrome, Firefox, etc.) programmatically. It provides a cross-browser\\nprogramming interface in several languages used primarily to implement\\nend-to-end tests for web applications. JUnit is a popular unit testing\\nframework for Java. Its latest version (i.e., JUnit 5) provides a programming\\nand extension model called Jupiter. This paper presents Selenium-Jupiter, an\\nopen-source JUnit 5 extension for Selenium WebDriver. Selenium-Jupiter aims to\\nease the development of Selenium WebDriver tests thanks to an automated driver\\nmanagement process implemented in conjunction with the Jupiter parameter\\nresolution mechanism. Moreover, Selenium-Jupiter provides seamless integration\\nwith Docker, allowing the use of different web browsers in Docker containers\\nout of the box. This feature enables cross-browser testing, load testing, and\\ntroubleshooting (e.g., configurable session recordings). This paper presents an\\nexample case in which Selenium-Jupiter is used to evaluate the performance of\\nvideo conferencing systems based on WebRTC. This example case shows that\\nSelenium-Jupiter can build and maintain the required infrastructure for complex\\ntests effortlessly.\",\"PeriodicalId\":501310,\"journal\":{\"name\":\"arXiv - CS - Other Computer Science\",\"volume\":\"16 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-02-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Other Computer Science\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2402.01480\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Other Computer Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2402.01480","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Selenium-Jupiter: A JUnit 5 extension for Selenium WebDriver
Selenium WebDriver is a library that allows controlling web browsers (e.g.,
Chrome, Firefox, etc.) programmatically. It provides a cross-browser
programming interface in several languages used primarily to implement
end-to-end tests for web applications. JUnit is a popular unit testing
framework for Java. Its latest version (i.e., JUnit 5) provides a programming
and extension model called Jupiter. This paper presents Selenium-Jupiter, an
open-source JUnit 5 extension for Selenium WebDriver. Selenium-Jupiter aims to
ease the development of Selenium WebDriver tests thanks to an automated driver
management process implemented in conjunction with the Jupiter parameter
resolution mechanism. Moreover, Selenium-Jupiter provides seamless integration
with Docker, allowing the use of different web browsers in Docker containers
out of the box. This feature enables cross-browser testing, load testing, and
troubleshooting (e.g., configurable session recordings). This paper presents an
example case in which Selenium-Jupiter is used to evaluate the performance of
video conferencing systems based on WebRTC. This example case shows that
Selenium-Jupiter can build and maintain the required infrastructure for complex
tests effortlessly.