Package com.codeborne.selenide.appium
Class AppiumDriverRunner
java.lang.Object
com.codeborne.selenide.appium.AppiumDriverRunner
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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>
TGet the underlying instance of AppiumDriver This can be used for any operations directly with AppiumDriver.static boolean
Checks that current driver is AndroidDriverstatic boolean
Checks that current driver is IOSDriver
-
Constructor Details
-
AppiumDriverRunner
public AppiumDriverRunner()
-
-
Method Details
-
getAndroidDriver
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
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
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
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
-