O'Reilly logo

Selenium 2 Testing Tools Beginner's Guide by David Burns

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using Selenium Grid 2 with your YAML file

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 -grid1Yml :

hub:
  port: 4444
  remoteControlPollingIntervalInSeconds: 180
  sessionMaxIdleTimeInSeconds: 300
  environments:
    - name:    "Firefox on Windows"
      browser: "*firefox" 

Let's see this in action.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required