Selenium standalone server and browser driver command-line options
When setting up the Selenium hub and nodes, it makes sense to create an image of each platform after it is completely set up, which will allow additional nodes to be added by cloning them. Setting up each one is fairly simple, with the exception of the platform differences between each node (that is, Linux, Windows, macOS, and so on).
Let's cover how to start each Selenium server on the hub and nodes on the grid.
Note
- The Selenium Grid command-line options help is located at http://www.seleniumhq.org/docs/07_selenium_grid.jsp#getting-command-line-help
- The Selenium documentation for the grid is located at https://seleniumhq.github.io/docs/grid.html#selenium_grid
Selenium hub
The Selenium hub VM directs all the traffic flow from the test clients to the nodes under test. There is only one hub VM in the Selenium Grid.
Using a Linux VM for the hub is faster and more reliable than using a Windows VM. So, for the following example, here...