The Sauce Labs Cookbook

Sauce Headless

Front End Performance Testing

Analytics

External Resources

More Info


Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use these the following in your configuration settings to connect to the European Data Center (status page) for the Sauce Labs Virtual Device Cloud.:

Feature/Framework
Sauce Labs Dashboardhttps://app.eu-central-1.saucelabs.com
Selenium server URLThe Selenium server URL to use in test scripts is https://ondemand.eu-central-1.saucelabs.com/wd/hub
Sauce Labs REST API

There are two different REST APIs for Virtual Cloud and Real Devices:

Virtual Cloud: https://eu-central-1.saucelabs.com/rest

Real Device Cloud: https://api.eu-central-1.saucelabs.com/v1/rdc

e.g. https://eu-central-1.saucelabs.com/rest/v1/users/USERNAME

Sauce Labs SSO

Signing/Encryption Certificate: https://eu-central-1.saucelabs.com/sso/metadata

Entity AssertionConsumeURL: https://eu-central-1.saucelabs.com/sso/acs

Sauce Connect Proxy

Use the latest version of Sauce Connect. Set:

-x https://eu-central-1.saucelabs.com/rest/v1

in your Sauce Connect arguments.

Java with JUnit or TestNG and SauceOnDemandTestWatcherSet:

SAUCE_REST_ENDPOINT=https://eu-central-1.saucelabs.com/ 

as a system/environment variable, otherwise test status will not be set.
ProtractorUpdate to version 5.4.2 or later of Protractor and set:
  sauceRegion: 'eu'

in your config file.

WebDriverIO

Update to version 4.14.1 or later, or 5.0.0 or later, of WebDriverIO and set

region: 'eu' 

in your wdio.conf file.