- 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-standalone
or (go release)
And get the jar from C:\source\selenium\build\java\server\src\org\openqa\grid\selenium\selenium-standalone.jar
搭建Selenium Grid的调试环境
最新推荐文章于 2024-01-01 23:44:24 发布