public class DriverStrategySelector extends Object
Constructor and Description |
---|
DriverStrategySelector(EnvironmentVariables environmentVariables) |
Modifier and Type | Method and Description |
---|---|
boolean |
browserStackUrlIsDefined() |
SupportedWebDriver |
forDriverClass(Class<? extends org.openqa.selenium.WebDriver> driverClass) |
static DriverStrategySelector |
inEnvironment(EnvironmentVariables environmentVariables) |
boolean |
isARemoteDriver(Class<? extends org.openqa.selenium.WebDriver> driverClass) |
boolean |
sauceLabsIsUsed() |
boolean |
shouldUseARemoteDriver() |
public DriverStrategySelector(EnvironmentVariables environmentVariables)
public static DriverStrategySelector inEnvironment(EnvironmentVariables environmentVariables)
public SupportedWebDriver forDriverClass(Class<? extends org.openqa.selenium.WebDriver> driverClass)
public boolean isARemoteDriver(Class<? extends org.openqa.selenium.WebDriver> driverClass)
public boolean shouldUseARemoteDriver()
public boolean sauceLabsIsUsed()
public boolean browserStackUrlIsDefined()
Copyright © 2021. All rights reserved.