Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.57 KB

File metadata and controls

25 lines (21 loc) · 1.57 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):

./download_selenium

Now you can start up the Grid Hub:

./grid-hub start

Now 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.)

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