Skip to main content

Installing Sauce Bindings

Universal Prerequisites

  1. Get your Sauce Labs account

  2. Set up your Sauce Credentials 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'

How to set environment variables on each Operating System:

Language Specific Prerequisites

  1. Install Java version 11 or greater
  2. Install your favorite Java IDE (IntelliJ is 🔥 and the Community Edition is free).
  3. Choose your test runner below:
  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.5.0</version>
</dependency>