Class CustomCapabilities

java.lang.Object
net.serenitybdd.core.webdriver.driverproviders.CustomCapabilities

public class CustomCapabilities
extends java.lang.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

    Modifier and Type Method Description
    static CustomCapabilities forDriver​(SupportedWebDriver driver)  
    java.util.Map<java.lang.String,​?> from​(EnvironmentVariables environmentVariables)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait