Package com.codeborne.selenide.appium
Class SelenideAppium
java.lang.Object
com.codeborne.selenide.appium.SelenideAppium
The main starting point of Selenide-Appium.
You start with methods launchApp()
for launching the tested application
-
Method Summary
Modifier and TypeMethodDescriptionstatic SelenideAppiumElement
$
(org.openqa.selenium.By seleniumSelector) static SelenideAppiumElement
$
(org.openqa.selenium.By seleniumSelector, int index) static SelenideAppiumElement
$
(org.openqa.selenium.WebElement webElement) static SelenideAppiumCollection
$$
(Collection<? extends org.openqa.selenium.WebElement> elements) static SelenideAppiumCollection
$$
(org.openqa.selenium.By selector) static SelenideAppiumElement
static void
back()
Navigate app back to previous screenstatic String
static void
The main starting point in your tests.static void
openAndroidDeepLink
(String deepLinkUrl, String appPackage) Open a deep link for an Android applicationstatic void
openIOSDeepLink
(String deepLinkUrl) Open a deep link for an IOS applicationstatic SelenideAppiumTargetLocator
switchTo()
static void
terminateApp
(String appId) Terminate application
-
Method Details
-
launchApp
public static void launchApp()The main starting point in your tests. Launch a mobile application. Do nothing if driver already created. -
openIOSDeepLink
Open a deep link for an IOS application- Parameters:
deepLinkUrl
- - deep link url
-
openAndroidDeepLink
Open a deep link for an Android application- Parameters:
deepLinkUrl
- - deep link urlappPackage
- - Android application package
-
terminateApp
Terminate application- Parameters:
appId
- - applicationId for Android or bundleId for iOS
-
back
public static void back()Navigate app back to previous screen -
switchTo
-
getContextHandles
-
getCurrentContext
-
$x
-
$
@CheckReturnValue @Nonnull public static SelenideAppiumElement $(org.openqa.selenium.By seleniumSelector) -
$
@CheckReturnValue @Nonnull public static SelenideAppiumElement $(org.openqa.selenium.By seleniumSelector, int index) -
$
@CheckReturnValue @Nonnull public static SelenideAppiumElement $(org.openqa.selenium.WebElement webElement) -
$$
@CheckReturnValue @Nonnull public static SelenideAppiumCollection $$(org.openqa.selenium.By selector) -
$$
@CheckReturnValue @Nonnull public static SelenideAppiumCollection $$(Collection<? extends org.openqa.selenium.WebElement> elements)
-