Skip to content

Instantly share code, notes, and snippets.

@diemol
Last active October 9, 2017 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save diemol/966d38ef02dc339046ac7ad69db0ef13 to your computer and use it in GitHub Desktop.
Save diemol/966d38ef02dc339046ac7ad69db0ef13 to your computer and use it in GitHub Desktop.
Start a Selenium Grid
java -jar selenium-server-standalone-3.6.0.jar -role hub
java -jar selenium-server-standalone-3.6.0.jar -role node \
-hub http://localhost:4444/grid/register \
-browser browserName=firefox,maxInstances=3 \
-browser browserName=chrome,maxInstances=5
java -jar selenium-server-standalone-3.6.0.jar -role node ^
-hub http://localhost:4444/grid/register ^
-browser browserName=firefox,maxInstances=3 ^
-browser browserName=chrome,maxInstances=5
@diemol
Copy link
Author

diemol commented Oct 9, 2017

How to install Geckodriver and Chromedriver

OSX/Linux

Check https://gist.github.com/diemol/635f450672b5bf80420d595ca0016d20

Windows

Chromedriver:

Geckodriver:

Guide showing how to add the folder where Geckodriver and Chromedriver are to the $PATH -> here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment