kgress / scaffold

A Java based Selenium WebDriver abstraction
MIT License
4 stars 7 forks source link

Sauce Labs not using supplied browser version #65

Closed ghost closed 4 years ago

ghost commented 4 years ago

Bug

Settings for the browser version in application properties will not be respected by sauce. This is likely because the W3C compatibility capabilities uses "browserVersion" and "platformName" instead of "version" and "platform" see https://wiki.saucelabs.com/display/DOCS/W3C+Capabilities+Support

Screen Shot 2020-06-01 at 11 24 39

Currently, the platformName vs platform and browserName vs browser still works as expected (requesting mac, chrome, 81 will give mac, chrome, 83)

Expected

Supplied browser version and platform version settings will be used by Sauce

Repro

  1. Set the run-type to sauce
  2. set the browser-type to chrome
  3. Set the browser-version to 81
  4. The test will be run on the latest browser version instead of 81