class ConfigurationBuilder : ConfigurationSetupBuilder
Defines the builder used in the configuration DSL that can be interacted with via the com.github.epadronu.balin.core.Browser.configure method.
val desiredConfigurationSetup = Configuration(false, testFactory)
Browser.configure {
autoQuit = desiredConfigurationSetup.autoQuit
driverFactory = desiredConfigurationSetup.driverFactory
}
Assert.assertEquals(Browser.desiredConfiguration, desiredConfigurationSetup)
See Also
ConfigurationBuilder()
Defines the builder used in the configuration DSL that can be interacted with via the com.github.epadronu.balin.core.Browser.configure method. |
var setups: Map<String, ConfigurationSetup>
may contain configuration setups to be used according to the |
var autoQuit: Boolean
control whether the driver quits at the end of com.github.epadronu.balin.core.Browser.drive. |
|
var driverFactory: () -> WebDriver
the factory that will create the driver to be used when invoking com.github.epadronu.balin.core.Browser.drive. |
|
var waitForSleepTimeInMilliseconds: Long
control the amount of time between attempts when using com.github.epadronu.balin.core.WaitingSupport.waitFor. |
|
var waitForTimeOutTimeInSeconds: Long
control the total amount of time to wait for a condition evaluated by com.github.epadronu.balin.core.WaitingSupport.waitFor to hold. |
fun build(): Configuration
Creates a new configuration. |
|
fun setup(block: ConfigurationSetupBuilder.() -> Unit): ConfigurationSetup
Domain-Specific language that let's you create a configuration. |