Class AppiumDriverRunner

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

public class AppiumDriverRunner extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.appium.java_client.android.AndroidDriver
    Deprecated, for removal: This API element is subject to removal in a future version.
    instead of retrieving AndroidDriver, cast your WebDriver to the needed interface, e.g.
    static io.appium.java_client.ios.IOSDriver
    Deprecated, for removal: This API element is subject to removal in a future version.
    instead of retrieving IOSDriver, cast your WebDriver to the needed interface, e.g.
    static <T extends io.appium.java_client.AppiumDriver>
    T
    Deprecated, for removal: This API element is subject to removal in a future version.
    instead of retrieving AndroidDriver, cast your WebDriver to the needed interface, e.g.
    static boolean
    Checks that current driver is AndroidDriver
    static boolean
    Checks that current driver is IOSDriver

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AppiumDriverRunner

      public AppiumDriverRunner()
  • Method Details

    • getAndroidDriver

      @Deprecated(forRemoval=true) public static io.appium.java_client.android.AndroidDriver getAndroidDriver()
      Deprecated, for removal: This API element is subject to removal in a future version.
      instead of retrieving AndroidDriver, cast your WebDriver to the needed interface, e.g. SupportsRotation or HidesKeyboard.
      Get the underlying instance of AndroidDriver This can be used for any operations directly with AndroidDriver.
    • getIosDriver

      @Deprecated(forRemoval=true) public static io.appium.java_client.ios.IOSDriver getIosDriver()
      Deprecated, for removal: This API element is subject to removal in a future version.
      instead of retrieving IOSDriver, cast your WebDriver to the needed interface, e.g. SupportsRotation or HidesKeyboard.
      Get the underlying instance of IOSDriver This can be used for any operations directly with IOSDriver.
    • getMobileDriver

      @Deprecated(forRemoval=true) public static <T extends io.appium.java_client.AppiumDriver> T getMobileDriver()
      Deprecated, for removal: This API element is subject to removal in a future version.
      instead of retrieving AndroidDriver, cast your WebDriver to the needed interface, e.g. SupportsRotation or HidesKeyboard.
      Get the underlying instance of AppiumDriver This can be used for any operations directly with AppiumDriver.
    • isAndroidDriver

      public static boolean isAndroidDriver()
      Checks that current driver is AndroidDriver
      Returns:
      false if session is not created
    • isIosDriver

      public static boolean isIosDriver()
      Checks that current driver is IOSDriver
      Returns:
      false if session is not created