`
jerome_wang
  • 浏览: 147706 次
  • 性别: Icon_minigender_1
  • 来自: 云南
社区版块
存档分类
最新评论

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

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics