This is the Sauce Labs browser provider plugin for TestCafe.
Switch branches/tags
Clone or download
Latest commit 786c0e5 Jul 18, 2018


Build Status Build Status

This plugin integrates TestCafe with the SauceLabs Testing Cloud.


npm install testcafe-browser-provider-saucelabs


Before using this plugin, save the SauceLabs username and access key to environment variables SAUCE_USERNAME and SAUCE_ACCESS_KEY, as described in SauceLabs documentation.

You can determine the available browser aliases by running

testcafe -b saucelabs

If you run tests from the command line, use the browser alias when specifying browsers:

testcafe "saucelabs:Chrome@beta:Windows 10" 'path/to/test/file.js'

When you use API, pass the alias to the browsers() method:

    .browsers('saucelabs:Chrome@beta:Windows 10')


Use the following environment variables to set additional configuration options:

  • SAUCE_JOB - the text that will be displayed as Job Name on SauceLabs,

  • SAUCE_BUILD - the text that will be displayed as Build Name on SauceLabs.


Developer Express Inc. (