Class CustomCapabilities
java.lang.Object
net.serenitybdd.core.webdriver.driverproviders.CustomCapabilities
CustomCapabilities are use to define both general and browser-specific capabilities for drivers in a generic way.
Browser capabilities can be either general (applied to all drivers) or driver-specific. General capabilities have
the prefix "driver_capabilities.common.", e.g.
driver_capabilities.common.takesScreenshot = false
Driver-specific capabilities are prefixed by the name of the driver in lower case, e.g.
driver_capabilities.iexplorer.ie.ensureCleanSession = true
-
Method Summary
Modifier and TypeMethodDescriptionstatic CustomCapabilities
forDriver
(SupportedWebDriver driver) from
(EnvironmentVariables environmentVariables)
-
Method Details
-
from
-
forDriver
-