Class SelenideAppium

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

@ParametersAreNonnullByDefault 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(@Nonnull String deepLinkUrl)
      Open a deep link for an IOS application
      Parameters:
      deepLinkUrl - - deep link url
    • openAndroidDeepLink

      public static void openAndroidDeepLink(@Nonnull String deepLinkUrl, @Nonnull 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

      @Nonnull @CheckReturnValue public static SelenideAppiumTargetLocator switchTo()
    • getContextHandles

      @Nonnull @CheckReturnValue public static Set<String> getContextHandles()
    • getCurrentContext

      @Nonnull @CheckReturnValue public static String getCurrentContext()
    • $x

      @CheckReturnValue @Nonnull public static SelenideAppiumElement $x(String xpathExpression)
    • $

      @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)