This page is not available in every language. Missing translations are disabled in the language selector.

Quick reference

Sauce Labs Cheatsheet

A quick reference guide for Sauce Labs: cloud-based automated cross-browser testing with Selenium, Zuul, and CI integrations.

· Published

Sauce Labs provides a cloud-based testing platform for automated and manual testing of web and mobile applications across multiple browsers.

Credentials Configuration

Store credentials in user configuration or environment variables:

export SAUCE_USERNAME="my_username"
export SAUCE_ACCESS_KEY="my_access_key"

Running Automated Tests with Zuul

Configure target browsers in .zuul.yml:

ui: mocha-bdd
browsers:
  - name: chrome
    version: latest
  - name: firefox
    version: latest
  - name: safari
    version: latest

Run test suite across cloud browsers:

zuul --test test/*.test.js

References

Related topics