Package com.codeborne.selenide.impl
Class WebdriverUnwrapper
java.lang.Object
com.codeborne.selenide.impl.WebdriverUnwrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Optional<T>
Deprecated, for removal: This API element is subject to removal in a future version.static <T> Optional<T>
Deprecated, for removal: This API element is subject to removal in a future version.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.static <T> T
static <T> boolean
instanceOf
(Driver driver, Class<T> klass) Deprecated, for removal: This API element is subject to removal in a future version.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.static <T> boolean
instanceOf
(org.openqa.selenium.SearchContext driver, Class<T> klass) Deprecated, for removal: This API element is subject to removal in a future version.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.static @Nullable org.openqa.selenium.WebDriver
unwrap
(org.openqa.selenium.SearchContext driverOrElement) Deprecated, for removal: This API element is subject to removal in a future version.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.static org.openqa.selenium.remote.RemoteWebDriver
unwrapRemoteWebDriver
(org.openqa.selenium.WebDriver driver)
-
Constructor Details
-
WebdriverUnwrapper
public WebdriverUnwrapper()
-
-
Method Details
-
instanceOf
Deprecated, for removal: This API element is subject to removal in a future version.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
. -
instanceOf
@Deprecated(forRemoval=true) public static <T> boolean instanceOf(org.openqa.selenium.SearchContext driver, Class<T> klass) Deprecated, for removal: This API element is subject to removal in a future version.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
. -
cast
Deprecated, for removal: This API element is subject to removal in a future version.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
. -
cast
@Deprecated(forRemoval=true) public static <T> Optional<T> cast(org.openqa.selenium.SearchContext driverOrElement, Class<T> klass) Deprecated, for removal: This API element is subject to removal in a future version.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
. -
cast
-
unwrap
@Deprecated(forRemoval=true) public static @Nullable org.openqa.selenium.WebDriver unwrap(org.openqa.selenium.SearchContext driverOrElement) Deprecated, for removal: This API element is subject to removal in a future version.instead of using this method, just cast yourWebDriver
to the needed interface, e.g.JavascriptExecutor
orTakesScreenshot
. -
unwrapRemoteWebDriver
public static org.openqa.selenium.remote.RemoteWebDriver unwrapRemoteWebDriver(org.openqa.selenium.WebDriver driver)
-
WebDriver
to the needed interface, e.g.