ITeye博客

搭建Selenium Grid的调试环境

jerome_wang · 2015-10-26 14:03 · selenium-webdriver · 行业应用 · Markdown

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

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。