Class WebdriverUnwrapper

java.lang.Object
com.codeborne.selenide.impl.WebdriverUnwrapper

public class WebdriverUnwrapper extends Object
  • Constructor Details

    • WebdriverUnwrapper

      public WebdriverUnwrapper()
  • Method Details

    • instanceOf

      public static <T> boolean instanceOf(Driver driver, Class<T> klass)
    • instanceOf

      public static <T> boolean instanceOf(org.openqa.selenium.SearchContext driver, Class<T> klass)
    • cast

      public static <T> Optional<T> cast(Driver driver, Class<T> klass)
    • cast

      public static <T> Optional<T> cast(org.openqa.selenium.SearchContext driverOrElement, Class<T> klass)
    • cast

      public static <T> T cast(org.openqa.selenium.WebElement probablyWrappedWebElement, Class<T> klass)
    • unwrap

      @Nullable @CheckReturnValue public static org.openqa.selenium.WebDriver unwrap(org.openqa.selenium.SearchContext driverOrElement)
    • unwrapRemoteWebDriver

      @Nonnull @CheckReturnValue public static org.openqa.selenium.remote.RemoteWebDriver unwrapRemoteWebDriver(org.openqa.selenium.WebDriver driver)