Selenium-Jupiter: A JUnit 5 extension for Selenium WebDriver

Boni García, Carlos Delgado Kloos, Carlos Alario-Hoyos, Mario Munoz-Organero
{"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}
引用次数: 0

Abstract

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.
Selenium-JupiterSelenium WebDriver 的 JUnit 5 扩展
Selenium WebDriver 是一个允许以编程方式控制网络浏览器(如 Chrome、Firefox 等)的库。它提供多种语言的跨浏览器编程接口,主要用于实现网络应用程序的端到端测试。JUnit 是一种流行的 Java 单元测试框架。其最新版本(即 JUnit 5)提供了一个名为 Jupiter 的编程和扩展模型。本文介绍的 Selenium-Jupiter 是 Selenium WebDriver 的开源 JUnit 5 扩展。Selenium-Jupiter 的目标是通过结合 Jupiter 参数解决机制实施的自动化驱动管理流程,简化 Selenium WebDriver 测试的开发。此外,Selenium-Jupiter 还与 Docker 无缝集成,允许在 Docker 容器中使用不同的网络浏览器。这一功能实现了跨浏览器测试、负载测试和故障排除(例如,可配置的会话记录)。本文介绍了一个使用 Selenium-Jupiter 评估基于 WebRTC 的视频会议系统性能的示例案例。该示例表明,Selenium-Jupiter 可以毫不费力地构建和维护完整测试所需的基础架构。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信