public class WebDriverConfiguration<T extends DriverConfiguration> extends net.thucydides.core.configuration.SystemPropertiesConfiguration implements DriverConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_WEBDRIVER_DRIVER
The default browser is Firefox.
|
Constructor and Description |
---|
WebDriverConfiguration(net.thucydides.core.util.EnvironmentVariables environmentVariables) |
Modifier and Type | Method and Description |
---|---|
WebDriverConfiguration |
copy() |
SupportedWebDriver |
getDriverType()
Get the currently-configured browser type.
|
WebDriverConfiguration |
withEnvironmentVariables(net.thucydides.core.util.EnvironmentVariables environmentVariables) |
getBaseUrl, getCurrentTestCount, getElementTimeout, getEnvironmentVariables, getEstimatedAverageStepCount, getHistoryDirectory, getOutputDirectory, getRestartFrequency, getScreenshotLevel, getStepDelay, getUseUniqueBrowser, loadHistoryDirectoryFromSystemProperties, loadOutputDirectoryFromSystemProperties, onlySaveFailingScreenshots, reloadOutputDirectory, setDefaultBaseUrl, setIfUndefined, setOutputDirectory, shouldUseAUniqueBrowser, takeVerboseScreenshots
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBaseUrl, getCurrentTestCount, getElementTimeout, getEnvironmentVariables, getEstimatedAverageStepCount, getHistoryDirectory, getOutputDirectory, getRestartFrequency, getScreenshotLevel, getStepDelay, getUseUniqueBrowser, onlySaveFailingScreenshots, setDefaultBaseUrl, setIfUndefined, setOutputDirectory, shouldUseAUniqueBrowser, takeVerboseScreenshots
public static final java.lang.String DEFAULT_WEBDRIVER_DRIVER
@Inject public WebDriverConfiguration(net.thucydides.core.util.EnvironmentVariables environmentVariables)
public SupportedWebDriver getDriverType()
getDriverType
in interface DriverConfiguration
public WebDriverConfiguration copy()
copy
in interface net.thucydides.core.webdriver.Configuration
copy
in class net.thucydides.core.configuration.SystemPropertiesConfiguration
public WebDriverConfiguration withEnvironmentVariables(net.thucydides.core.util.EnvironmentVariables environmentVariables)
withEnvironmentVariables
in interface net.thucydides.core.webdriver.Configuration
withEnvironmentVariables
in class net.thucydides.core.configuration.SystemPropertiesConfiguration