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

com.saucelabs.rdc.RdcEndpoints Maven / Gradle / Ivy

Go to download

Library for running Appium test suites and updating test status on Sauce Labs Real Device Cloud (RDC)

The newest version!
package com.saucelabs.rdc;

import java.net.MalformedURLException;
import java.net.URL;

/**
 * The Appium remote addresses of Sauce Labs' data centers. You can use them
 * for creating your remote {@code AppiumDriver}.
 * 
 *     driver = new AppiumDriver({@link RdcEndpoints#US}, capabilities);
 * 
* * @since 1.0.0 */ public class RdcEndpoints { public static final URL US = getUrl("https://us1.appium.testobject.com/wd/hub"); public static final URL EU = getUrl("https://eu1.appium.testobject.com/wd/hub"); private static URL getUrl(String url) { try { return new URL(url); } catch (MalformedURLException e) { throw new RuntimeException(e.getMessage(), e); } } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy