Class AppiumElementDescriber

java.lang.Object
com.codeborne.selenide.appium.AppiumElementDescriber
All Implemented Interfaces:
com.codeborne.selenide.impl.ElementDescriber

@ParametersAreNonnullByDefault public class AppiumElementDescriber extends Object implements com.codeborne.selenide.impl.ElementDescriber
Appium-specific element describer.

Sample output:

Element should have text '666' {By.id: result} Element: '6' Screenshot: file:/Users/andrei/projects/selenide-appium/build/reports/tests/1599256941895.0.png Page source: file:/Users/andrei/projects/selenide-appium/build/reports/tests/1599256941895.0.html

  • Constructor Details

    • AppiumElementDescriber

      public AppiumElementDescriber()
  • Method Details

    • fully

      @Nonnull public String fully(com.codeborne.selenide.Driver driver, @Nullable org.openqa.selenium.WebElement element)
      Specified by:
      fully in interface com.codeborne.selenide.impl.ElementDescriber
    • supportedAttributes

      protected List<String> supportedAttributes(com.codeborne.selenide.Driver driver)
    • androidAttributes

      protected List<String> androidAttributes()
    • iosAttributes

      protected List<String> iosAttributes()
    • genericAttributes

      protected List<String> genericAttributes()
    • briefly

      @Nonnull public String briefly(com.codeborne.selenide.Driver driver, @Nonnull org.openqa.selenium.WebElement element)
      Specified by:
      briefly in interface com.codeborne.selenide.impl.ElementDescriber
    • selector

      @CheckReturnValue @Nonnull public String selector(org.openqa.selenium.By selector)
      Specified by:
      selector in interface com.codeborne.selenide.impl.ElementDescriber