---
title: "搭建Selenium Grid的调试环境"
author: "jerome_wang"
date: "2015-10-26T14:03:44Z"
tags: []
categories: ["行业应用"]
slug: "selenium-grid"
draft: false
lastmod: "2015-10-26T14:03:44Z"
id: 2251943
url: "https://jerome-wang.iteye.com/blog/2251943"
---

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/](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  
   ![](https://wiki.vip.corp.ebay.com/download/attachments/214980336/image2013-12-3%2011%3A27%3A58.png?version=1&modificationDate=1386041295000&api=v2)
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