Sauce Labs Customer Idea Portal

Submit an idea and make Sauce Labs even better!

Updating capabilities in Platform Configurator page

The Selenium Java bindings are moving to a model where we use *Options classes, rather than straight DesiredCapabilities. For example, Chrome can be configured like so:

ChromeOptions options = new ChromeOptions(); 
options.setCapability("platform", "Windows 10"); 
options.setCapability("version", "62.0"); 
WebDriver driver = new RemoteWebDriver(options); 

This is to remove a class of problems caused by people putting items not meant for (eg) Chrome into the chrome config (things like a firefox profile, for example).

The Platform Configurator encourages people to use DesiredCapabilities instead, which perpetuates the older way of doing things leading to problems as we move inexorably towards a w3c future.

  • Guest
  • Dec 6 2017
  • Evaluating
  • Attach files
  • Savvithri Sivaram commented
    7 Dec, 2017 10:58pm

    Thanks for submitting the idea Simon. We are evaluating this currently.