sauce-archives / sauce_ruby

This is the Ruby client adapter for testing with Sauce Labs, a Selenium-based browser testing service (saucelabs.com).
Apache License 2.0
98 stars 115 forks source link

How to use Microsoft Edge? #354

Closed meenie closed 8 years ago

meenie commented 8 years ago

I'm trying to config this gem to use Microsoft Edge, but I keep getting the following error:

Selenium::WebDriver::Error::WebDriverError:         unexpected response, code=404, content-type="text/plain"
        Unsupported OS/browser/version/device combo: OS: 'Windows 10', Browser: 'edge', Version: '20.10240.', Device: 'unspecified'

My configuration looks like this:

    Sauce.config do |config|
      config[:browsers] = [
        ['Windows 10', 'Edge', '20.10240']
      ]
    end

I got this config from here: https://wiki.saucelabs.com/display/DOCS/Platform+Configurator#/

meenie commented 8 years ago

The way you have to do is:

    Sauce.config do |config|
      config[:browsers] = [
        ['Windows 10', 'microsoftedge', nil]
      ]
    end

But don't bother, Edge has maybe half of the capabilities configured: https://dev.windows.com/en-us/microsoft-edge/platform/status/webdriver/details/