Time for action – using Selenium Grid 1 configuration - Selenium

A number of us have set up a Selenium Grid using the Selenium 1 Grid and have been using it for a long time. Since we have this why not upgrade the nodes to the Selenium Server that supports both Remote Control and WebDriver and use our original configuration? One thing to note is that we will only be able to run Selenium Remote Control tests this way.

Let's have a try at starting this all up.

  1. Open a console or command prompt.

  2. Run the command:

    java -jar selenium-server-standalone.jar -role hub -gridlYml selenium-grid-1.0.8/grid_configuration.yml
  3. If we have a look at the grid config page by clicking the view config link, then we will see it in there:

What just happened?

We have just got the Selenium Grid to load our original Selenium Grid item by passing in the original YAML file. This then gets used by the hub once it has started up!

All rights reserved © 2020 Wisdom IT Services India Pvt. Ltd DMCA.com Protection Status

Selenium Topics