搭建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

你可能感兴趣的:(python,java,开发工具)