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 yourWebDriverto the needed interface, e.g.static <T> Tstatic <T> booleaninstanceOf(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 yourWebDriverto the needed interface, e.g.static <T> booleaninstanceOf(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 yourWebDriverto the needed interface, e.g.static @Nullable org.openqa.selenium.WebDriverunwrap(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 yourWebDriverto the needed interface, e.g.static org.openqa.selenium.remote.RemoteWebDriverunwrapRemoteWebDriver(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 yourWebDriverto the needed interface, e.g.JavascriptExecutororTakesScreenshot. -
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 yourWebDriverto the needed interface, e.g.JavascriptExecutororTakesScreenshot. -
cast
Deprecated, for removal: This API element is subject to removal in a future version.instead of using this method, just cast yourWebDriverto the needed interface, e.g.JavascriptExecutororTakesScreenshot. -
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 yourWebDriverto the needed interface, e.g.JavascriptExecutororTakesScreenshot. -
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 yourWebDriverto the needed interface, e.g.JavascriptExecutororTakesScreenshot. -
unwrapRemoteWebDriver
public static org.openqa.selenium.remote.RemoteWebDriver unwrapRemoteWebDriver(org.openqa.selenium.WebDriver driver)
-
WebDriverto the needed interface, e.g.