If you have been using Selenium Grid from Selenium 1, you will have set up your YAML file. This can now be used with Selenium by passing in a file like the following one. To do this we just need to pass in a new argument called
hub: port: 4444 remoteControlPollingIntervalInSeconds: 180 sessionMaxIdleTimeInSeconds: 300 environments: - name: "Firefox on Windows" browser: "*firefox"
Let's see this in action.