All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.version1.exceptions.SauceLabsCredentialsException Maven / Gradle / Ivy

Go to download

A simple Selenium framework offering externalised configuration, a good selection of libraries for supporting test data, simple WebDriver browser binary resolution and an opinionated approach for WebDriver test design.

There is a newer version: 2.0.1
Show newest version
package com.version1.exceptions;

public class SauceLabsCredentialsException extends Exception {

    public SauceLabsCredentialsException() {
        super("Tried to get credentials from system variable SAUCE_USERNAME and SAUCE_ACCESS_KEY but could not find them");
        throw new RuntimeException("Can't execute against SauceLabs without valid credentials being provided, see stack trace from SauceLabsCredentialsException");
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy