-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learning Selenium Testing Tools - Third Edition - Third Edition
By :
Selenium Grid works by having a central point that tests can connect to, and then commands are pushed to Selenium Server nodes that are connected to the hub. The hub has a web interface that tells you about the Selenium Server and the browser instances connected to the hub, and if they are currently in use.
Now that we are ready to start working with Selenium Grid, we need to set up the grid. This is a simple command that we run in the console or Command Prompt.
Open Command Prompt or a console.
Run the following command:
java -jar selenium-server-standalone-x.xx.xx.jar -role hub
When that command executes, you should see something like the following screenshot:

We can see that this is running in Command Prompt or the console. We can also see the hub running from within a browser.
We can enter http://nameofmachine:4444/grid/console where nameofmachine is the name of the machine with the hub. If it is on your machine, then you can enter http://localhost:4444...
Change the font size
Change margin width
Change background colour