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.AndroidDriver
Deprecated, for removal: This API element is subject to removal in a future version.static io.appium.java_client.ios.IOSDriver
Deprecated, for removal: This API element is subject to removal in a future version.instead of retrievingIOSDriver
, cast yourWebDriver
to 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 yourWebDriver
to the needed interface, e.g.static boolean
Checks that current driver is AndroidDriverstatic boolean
Checks 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 yourWebDriver
to the needed interface, e.g.SupportsRotation
orHidesKeyboard
.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 yourWebDriver
to the needed interface, e.g.SupportsRotation
orHidesKeyboard
.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 yourWebDriver
to the needed interface, e.g.SupportsRotation
orHidesKeyboard
.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 yourWebDriver
to the needed interface, e.g.