Sauce Labs Test Setup

This example script follows the best practice of using environment variables in place of hardcoded authentication credentials. Once you've been able to successfully run the instant test with hardcoded credentials, you can use this test to make sure that you've correctly set up your environment variables for authentication.

Choosing the Correct Data Center

Running Local Tests

Running Tests in Parallel

For more information, check out the example scripts in our GitHub repo.