Build a debugging environment for Selenium Grid

http://shijunjuan.iteye.com/blog/1997764

 

  1. Download and install IDE, such as Eclipse
  2. create folder c:\source, clone selenium repository: git clone https://code.google.com/p/selenium/
  3. Open IDE, import projects: client, server, third-party
  4. 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
  5. 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

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326768721&siteId=291194637
Recommended