Class SelenideAppium

java.lang.Object
com.codeborne.selenide.appium.SelenideAppium

public class SelenideAppium extends Object
The main starting point of Selenide-Appium.

You start with methods launchApp() for launching the tested 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

      public static void openIOSDeepLink(String deepLinkUrl)
      Open a deep link for an IOS application
      Parameters:
      deepLinkUrl - - deep link url
    • openAndroidDeepLink

      public static void openAndroidDeepLink(String deepLinkUrl, String appPackage)
      Open a deep link for an Android application
      Parameters:
      deepLinkUrl - - deep link url
      appPackage - - Android application package
    • terminateApp

      public static void terminateApp(String appId)
      Terminate application
      Parameters:
      appId - - applicationId for Android or bundleId for iOS
    • back

      public static void back()
      Navigate app back to previous screen
    • switchTo

      public static SelenideAppiumTargetLocator switchTo()
    • getContextHandles

      public static Set<String> getContextHandles()
    • getCurrentContext

      public static String getCurrentContext()
    • $x

      public static SelenideAppiumElement $x(String xpathExpression)
    • $

      public static SelenideAppiumElement $(org.openqa.selenium.By seleniumSelector)
    • $

      public static SelenideAppiumElement $(org.openqa.selenium.By seleniumSelector, int index)
    • $

      public static SelenideAppiumElement $(org.openqa.selenium.WebElement webElement)
    • $$

      public static SelenideAppiumCollection $$(org.openqa.selenium.By selector)
    • $$

      public static SelenideAppiumCollection $$(Collection<? extends org.openqa.selenium.WebElement> elements)