Skip to main content

Setting Common Options

The three capabilities that matter most to Sauce Labs users are:

  • browserName
  • browserVersion
  • platformName

By default, Sauce Bindings provides the latest version of Google Chrome on Windows 10.

To see what values are supported by Sauce Labs for these 3 capabilities, take a look at our Platform Configurator

Additionally, there are settings that apply to all browser sessions that can be configured in SauceOptions

Here's an example of running a test on Firefox and Windows 8.0, that accepts insecure certificates and changes the unhandled prompt behavior to "ignore":

Select the test runner tab based on which library you added to your .pom file

See full example on GitHub
Last updated on by titusfortner