Class FluentDriverWrappedCapabilitiesProvider

java.lang.Object
io.fluentlenium.core.FluentDriverWrappedCapabilitiesProvider

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

    • FluentDriverWrappedCapabilitiesProvider

      public FluentDriverWrappedCapabilitiesProvider()
  • Method Details

    • 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.
      Parameters:
      driver - the webdriver to get the capabilities from
      Returns:
      capabilities of the innermost wrapped driver.