Class CustomCapabilities
- java.lang.Object
-
- net.serenitybdd.core.webdriver.driverproviders.CustomCapabilities
-
public class CustomCapabilities extends Object
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CustomCapabilities
forDriver(SupportedWebDriver driver)
Map<String,?>
from(EnvironmentVariables environmentVariables)
-
-
-
Method Detail
-
from
public Map<String,?> from(EnvironmentVariables environmentVariables)
-
forDriver
public static CustomCapabilities forDriver(SupportedWebDriver driver)
-
-