Class WebDriverConfiguration<T extends DriverConfiguration>
- java.lang.Object
-
- net.thucydides.core.configuration.SystemPropertiesConfiguration
-
- net.thucydides.core.configuration.WebDriverConfiguration<T>
-
- All Implemented Interfaces:
Configuration
,DriverConfiguration
public class WebDriverConfiguration<T extends DriverConfiguration> extends SystemPropertiesConfiguration implements DriverConfiguration
-
-
Field Summary
Fields Modifier and Type Field Description static String
DEFAULT_WEBDRIVER_DRIVER
The default browser is Firefox.-
Fields inherited from class net.thucydides.core.configuration.SystemPropertiesConfiguration
DEFAULT_ELEMENT_TIMEOUT_SECONDS, DEFAULT_ESTIMATED_AVERAGE_STEP_COUNT, defaultBaseUrl, environmentVariables, outputDirectory, PROJECT_BUILD_DIRECTORY, REFUSE_UNTRUSTED_CERTIFICATES
-
-
Constructor Summary
Constructors Constructor Description WebDriverConfiguration(EnvironmentVariables environmentVariables)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SupportedWebDriver
getDriverType()
Get the currently-configured browser type.-
Methods inherited from class net.thucydides.core.configuration.SystemPropertiesConfiguration
getBaseUrl, getCurrentTestCount, getElementTimeoutInSeconds, getEnvironmentVariables, getEstimatedAverageStepCount, getHistoryDirectory, getOutputDirectory, getRestartFrequency, getScreenshotLevel, getStepDelay, getUseUniqueBrowser, loadHistoryDirectoryFromSystemProperties, loadOutputDirectoryFromSystemProperties, onlySaveFailingScreenshots, reloadOutputDirectory, setDefaultBaseUrl, setIfUndefined, setOutputDirectory, shouldUseAUniqueBrowser, takeVerboseScreenshots, withEnvironmentVariables
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.thucydides.core.webdriver.Configuration
getBaseUrl, getCurrentTestCount, getElementTimeoutInSeconds, getEnvironmentVariables, getEstimatedAverageStepCount, getHistoryDirectory, getOutputDirectory, getRestartFrequency, getScreenshotLevel, getStepDelay, getUseUniqueBrowser, onlySaveFailingScreenshots, setDefaultBaseUrl, setIfUndefined, setOutputDirectory, shouldUseAUniqueBrowser, takeVerboseScreenshots, withEnvironmentVariables
-
-
-
-
Field Detail
-
DEFAULT_WEBDRIVER_DRIVER
public static final String DEFAULT_WEBDRIVER_DRIVER
The default browser is Firefox.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
WebDriverConfiguration
@Inject public WebDriverConfiguration(EnvironmentVariables environmentVariables)
-
-
Method Detail
-
getDriverType
public SupportedWebDriver getDriverType()
Get the currently-configured browser type.- Specified by:
getDriverType
in interfaceDriverConfiguration<T extends DriverConfiguration>
-
-