Class FluentDriverWrappedCapabilitiesProvider


  • public class FluentDriverWrappedCapabilitiesProvider
    extends java.lang.Object
    Provides wrapped WebDriver capabilities for FluentDriver.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.
        Parameters:
        driver - the webdriver to get the capabilities from
        Returns:
        capabilities of the innermost wrapped driver.