Package io.fluentlenium.core
Class FluentDriverWrappedCapabilitiesProvider
java.lang.Object
io.fluentlenium.core.FluentDriverWrappedCapabilitiesProvider
Provides wrapped WebDriver capabilities for
FluentDriver
.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.openqa.selenium.Capabilities
getCapabilities
(org.openqa.selenium.WebDriver driver) Goes through all the underlying wrapped drivers (WrapsDriver
) in the argumentWebDriver
, and returns theCapabilities
of the innermost wrapped driver.
-
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 argumentWebDriver
, and returns theCapabilities
of the innermost wrapped driver.- Parameters:
driver
- the webdriver to get the capabilities from- Returns:
- capabilities of the innermost wrapped driver.
-