Skip to content

Latest commit

 

History

History
34 lines (29 loc) · 1.74 KB

File metadata and controls

34 lines (29 loc) · 1.74 KB

Notes on using the Selenium Grid Hub

The Selenium Grid Hub allows you to distribute tests to run in parallel across multiple machines. Each machine can then run its own allocation of tests in parallel. This allows you to run an entire test suite quickly, which may be important if you have a lot of tests to run. Machines can be personal computers, data centers, or virtual machines in the cloud. You can also create your own virtual machine by using a tool such as Docker (see the Docker ReadMe).

Running the Selenium Grid Hub

First, download the latest selenium-server-standalone jar file to this folder (integrations/selenium_grid):

python download_selenium.py

Now you can start up the Grid Hub:

./grid-hub start

Now you can add a Grid Node to the Grid Hub:

./grid-node start

(NOTE: If the Grid Node is not running on the same machine as the Grid Hub, update the address from the script.) You should be able to see the Grid Console up and running from here: http://0.0.0.0:4444/grid/console (NOTE: That's the address if you're running locally from localhost.)

You can remove a Grid Node from the Grid Hub with:

./grid-node stop

You can stop the Grid Hub at anytime with:

./grid-hub stop

More detailed info about connecting to the Selenium Grid Hub can be found here: