Skip to main content

Getting Started

Universal Prerequisites#

To start with make sure you have a valid Sauce Labs account

Since credentials should never be stored in code that might get added to a version control system, we have decided to require users of Sauce Bindings to store these values in environment variables:

SAUCE_USERNAME='valid.username'
SAUCE_ACCESS_KEY='valid.key'

Here are instructions for setting environment variables on each Operating System:

Language Specific Prerequisites#

  1. Install Java version 8 or greater
  2. Install your favorite Java IDE (we really like IntelliJ and the Community Edition is free).
  3. Choose your test runner below, or use the Sauce Bindings directly without test runner support:
  1. Add the following to your .pom file:
<!-- https://mvnrepository.com/artifact/com.saucelabs/saucebindings-junit4/latest -->
<dependency>
<groupId>com.saucelabs</groupId>
<artifactId>saucebindings-junit5</artifactId>
<version>1.0.0</version>
</dependency>
Last updated on by Nikolay Advolodkin