- Download and install IDE, such as Eclipse
- create folder c:\source, clone selenium repository: git clone https://code.google.com/p/selenium/
- Open IDE, import projects: client, server, third-party
- Debug org.openqa.grid.selenium.GridLauncher.java as JAVA application, with parameter: -role hub -hubConfig "c:/grid/hub/conf/hub.json" -timeout 300 -browserTimeout 240, and VM arguments:
-Xmx1024M -DPOOL_MAX=1024
- Build selenium jar:
go selenium-server-standaloneor (go release)
And get the jar from C:\source\selenium\build\java\server\src\org\openqa\grid\selenium\selenium-standalone.jar
搭建Selenium Grid的调试环境
安装并配置Selenium环境
最新推荐文章于 2025-04-29 11:43:08 发布
本文指导您如何下载并安装IDE(如Eclipse),创建文件夹并克隆Selenium仓库,导入并调试Java应用程序,最后构建Selenium jar文件。
874

被折叠的 条评论
为什么被折叠?



