Class FluentDriverWrappedCapabilitiesProvider

  • public class FluentDriverWrappedCapabilitiesProvider
    extends Object
    Provides wrapped WebDriver capabilities for FluentDriver.
    • Constructor Detail

      • FluentDriverWrappedCapabilitiesProvider

        public FluentDriverWrappedCapabilitiesProvider()
    • Method Detail

      • getCapabilities

        public org.openqa.selenium.Capabilities getCapabilities​(org.openqa.selenium.WebDriver driver)
        Goes through all the underlying wrapped drivers (WrapsDriver) in the argument WebDriver, and returns the Capabilities of the innermost wrapped driver.
        driver - the webdriver to get the capabilities from
        capabilities of the innermost wrapped driver.