Adding instances to the hub
Now that we have successfully started the Selenium Grid hub, we will need to have a look at how we can start adding Selenium servers to the hub so that it starts forming the grid of computers that we are expecting. You will notice that compared to Selenium Grid for Selenium 1, we won't have to add a new server for each browser that we want to use. The server has always been able to handle more than one browser and because of architectural changes, we can now start one server and have it control all the browsers installed on that machine.
Adding a server with the defaults
In this section, we will launch Selenium Server and get it to register with the hub. We will assume that the browser on which you will like to register all known browsers and the hub are on the same machine as the grid node. We will pass in two required arguments: that the server we are starting is a node, and the location of the hub. The Selenium Server will try and use the 5555
port. If this is...