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
    Get the underlying instance of AndroidDriver This can be used for any operations directly with AndroidDriver.
    static io.appium.java_client.ios.IOSDriver
    Get the underlying instance of IOSDriver This can be used for any operations directly with IOSDriver.
    static <T extends io.appium.java_client.AppiumDriver>
    T
    Get the underlying instance of AppiumDriver This can be used for any operations directly with AppiumDriver.
    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

      @Nonnull @CheckReturnValue public static io.appium.java_client.android.AndroidDriver getAndroidDriver()
      Get the underlying instance of AndroidDriver This can be used for any operations directly with AndroidDriver.
    • getIosDriver

      @Nonnull @CheckReturnValue public static io.appium.java_client.ios.IOSDriver getIosDriver()
      Get the underlying instance of IOSDriver This can be used for any operations directly with IOSDriver.
    • getMobileDriver

      @Nonnull @CheckReturnValue public static <T extends io.appium.java_client.AppiumDriver> T getMobileDriver()
      Get the underlying instance of AppiumDriver This can be used for any operations directly with AppiumDriver.
    • isAndroidDriver

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

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