Class WebdriverUnwrapper

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

public class WebdriverUnwrapper extends Object
A temporary solution to fix ... Will be replaced by a better solution in Selenide.
  • Constructor Details

    • WebdriverUnwrapper

      public WebdriverUnwrapper()
  • Method Details

    • isMobile

      public static boolean isMobile(Driver driver)
    • isMobile

      public static boolean isMobile(org.openqa.selenium.SearchContext driver)
    • 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)