public class SauceWebDriverProvider extends RemoteWebDriverProvider
RemoteWebDriverProvider.SauceLabsJobHasEnded
DelegatingWebDriverProvider.DelegateWebDriverNotFound
delegate
Constructor and Description |
---|
SauceWebDriverProvider()
With default capabilities and a selenium version specified in getSeleniumVersion()
|
SauceWebDriverProvider(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities) |
Modifier and Type | Method and Description |
---|---|
URL |
createRemoteURL() |
protected String |
getCommandTimeout()
Command Timeout for an individual command for a Job on Sauce Labs.
|
protected String |
getDefaultSeleniumVersion() |
protected String |
getIdleTimeout()
Idle Timeout for a Job on Sauce Labs.
|
protected String |
getMaxDuration()
Max duration of Job on Sauce Labs.
|
static String |
getSauceAccessKey() |
static String |
getSauceCredentials() |
static String |
getSauceUser() |
protected String |
getSeleniumVersion()
Get selenium version from System property 'selenium.version' if there.
|
protected org.openqa.selenium.remote.DesiredCapabilities |
makeDesiredCapabilities()
Default Desired Capabilities: Any-Platform,
Any Firefox Version, unless something is specified via a system-property "browser.version"
and 'Takes Screen-Shot'
|
getBrowserVersion, initialize, useVerbosity, wrapCommandExecutor
end, get, saveScreenshotTo
public SauceWebDriverProvider(org.openqa.selenium.remote.DesiredCapabilities desiredCapabilities)
desiredCapabilities
- public SauceWebDriverProvider()
protected org.openqa.selenium.remote.DesiredCapabilities makeDesiredCapabilities()
RemoteWebDriverProvider
makeDesiredCapabilities
in class RemoteWebDriverProvider
protected String getSeleniumVersion()
protected String getDefaultSeleniumVersion()
public URL createRemoteURL() throws MalformedURLException
createRemoteURL
in class RemoteWebDriverProvider
MalformedURLException
public static String getSauceUser()
public static String getSauceAccessKey()
public static String getSauceCredentials()
protected String getMaxDuration()
protected String getCommandTimeout()
protected String getIdleTimeout()
Copyright © 2017. All rights reserved.