Package com.codeborne.selenide.appium
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:
<TextView class="android.widget.TextView" id="com.android.calculator2:id/result" name="6" displayed="true"
checked="false" enabled="true" focused="false" bounds="[0,183][1080,584]"
contentDescription="null" package="com.android.calculator2">6</TextView>
Screenshot: file:/Users/andrei/projects/selenide/build/reports/tests/1599256941895.0.png
Page source: file:/Users/andrei/projects/selenide/build/reports/tests/1599256941895.0.html
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbriefly(com.codeborne.selenide.Driver driver, org.openqa.selenium.WebElement element) fully(com.codeborne.selenide.Driver driver, org.openqa.selenium.WebElement element) selector(org.openqa.selenium.By selector) supportedAttributes(com.codeborne.selenide.Driver driver) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.codeborne.selenide.impl.ElementDescriber
fully
-
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:
fullyin interfacecom.codeborne.selenide.impl.ElementDescriber
-
supportedAttributes
-
androidAttributes
-
iosAttributes
-
genericAttributes
-
briefly
@Nonnull public String briefly(com.codeborne.selenide.Driver driver, @Nonnull org.openqa.selenium.WebElement element) - Specified by:
brieflyin interfacecom.codeborne.selenide.impl.ElementDescriber
-
selector
- Specified by:
selectorin interfacecom.codeborne.selenide.impl.ElementDescriber
-