Package com.codeborne.selenide.impl
Class WebdriverUnwrapper
java.lang.Object
com.codeborne.selenide.impl.WebdriverUnwrapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Optional<T>
static <T> Optional<T>
static <T> T
static <T> boolean
instanceOf
(Driver driver, Class<T> klass) static <T> boolean
instanceOf
(org.openqa.selenium.SearchContext driver, Class<T> klass) static @Nullable org.openqa.selenium.WebDriver
unwrap
(org.openqa.selenium.SearchContext driverOrElement) static org.openqa.selenium.remote.RemoteWebDriver
unwrapRemoteWebDriver
(org.openqa.selenium.WebDriver driver)
-
Constructor Details
-
WebdriverUnwrapper
public WebdriverUnwrapper()
-
-
Method Details
-
instanceOf
-
instanceOf
-
cast
-
cast
-
cast
-
unwrap
public static @Nullable org.openqa.selenium.WebDriver unwrap(org.openqa.selenium.SearchContext driverOrElement) -
unwrapRemoteWebDriver
public static org.openqa.selenium.remote.RemoteWebDriver unwrapRemoteWebDriver(org.openqa.selenium.WebDriver driver)
-