Package com.codeborne.selenide.appium
Class AppiumDriverRunner
java.lang.Object
com.codeborne.selenide.appium.AppiumDriverRunner
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic io.appium.java_client.android.AndroidDriverDeprecated, for removal: This API element is subject to removal in a future version.static io.appium.java_client.ios.IOSDriverDeprecated, for removal: This API element is subject to removal in a future version.instead of retrievingIOSDriver, cast yourWebDriverto the needed interface, e.g.static <T extends io.appium.java_client.AppiumDriver>
TDeprecated, for removal: This API element is subject to removal in a future version.instead of retrievingAndroidDriver, cast yourWebDriverto the needed interface, e.g.static booleanChecks that current driver is AndroidDriverstatic booleanChecks that current driver is IOSDriver
-
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 retrievingAndroidDriver, cast yourWebDriverto the needed interface, e.g.SupportsRotationorHidesKeyboard.Get the underlying instance of AndroidDriver This can be used for any operations directly with AndroidDriver. -
getIosDriver
Deprecated, for removal: This API element is subject to removal in a future version.instead of retrievingIOSDriver, cast yourWebDriverto the needed interface, e.g.SupportsRotationorHidesKeyboard.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 retrievingAndroidDriver, cast yourWebDriverto the needed interface, e.g.SupportsRotationorHidesKeyboard.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
-
AndroidDriver, cast yourWebDriverto the needed interface, e.g.