Package net.thucydides.core.webdriver
Interface Configuration<T extends Configuration>
- All Known Implementing Classes:
SystemPropertiesConfiguration
public interface Configuration<T extends Configuration>
-
Method Summary
Modifier and TypeMethodDescriptionintThis is the URL where test cases start.intdoubleintHow often should screenshots be taken.intbooleanDeprecated.booleanvoidsetDefaultBaseUrl(String defaultBaseUrl) voidsetIfUndefined(String property, String value) voidsetOutputDirectory(File outputDirectory) booleanbooleanTake a screenshot for each action.withEnvironmentVariables(EnvironmentVariables environmentVariables)
-
Method Details
-
getStepDelay
int getStepDelay() -
getElementTimeoutInSeconds
int getElementTimeoutInSeconds() -
getUseUniqueBrowser
Deprecated.Use shouldUseAUniqueBrowser() instead -
shouldUseAUniqueBrowser
boolean shouldUseAUniqueBrowser() -
setOutputDirectory
-
getOutputDirectory
File getOutputDirectory() -
getHistoryDirectory
File getHistoryDirectory() -
getEstimatedAverageStepCount
double getEstimatedAverageStepCount() -
onlySaveFailingScreenshots
boolean onlySaveFailingScreenshots() -
setDefaultBaseUrl
-
getRestartFrequency
int getRestartFrequency() -
getCurrentTestCount
int getCurrentTestCount()This is the URL where test cases start. The default value can be overriden using the webdriver.baseurl property. It is also the base URL used to build relative paths. -
getBaseUrl
String getBaseUrl() -
takeVerboseScreenshots
boolean takeVerboseScreenshots()Take a screenshot for each action. -
getScreenshotLevel
Optional<TakeScreenshots> getScreenshotLevel()How often should screenshots be taken. -
setIfUndefined
-
withEnvironmentVariables
-
getEnvironmentVariables
EnvironmentVariables getEnvironmentVariables()
-