Package com.codeborne.selenide.appium
Class AppiumElementDescriber
java.lang.Object
com.codeborne.selenide.appium.AppiumElementDescriber
- All Implemented Interfaces:
ElementDescriber
@ParametersAreNonnullByDefault
public class AppiumElementDescriber
extends Object
implements 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
-
Method Summary
Modifier and TypeMethodDescriptionselector
(org.openqa.selenium.By selector) supportedAttributes
(Driver driver) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.codeborne.selenide.impl.ElementDescriber
fully
-
Constructor Details
-
AppiumElementDescriber
public AppiumElementDescriber()
-
-
Method Details
-
fully
@Nonnull @CheckReturnValue public String fully(Driver driver, @Nullable org.openqa.selenium.WebElement element) - Specified by:
fully
in interfaceElementDescriber
-
supportedAttributes
-
androidAttributes
-
iosAttributes
-
genericAttributes
-
briefly
@Nonnull @CheckReturnValue public String briefly(Driver driver, org.openqa.selenium.WebElement element) - Specified by:
briefly
in interfaceElementDescriber
-
selector
- Specified by:
selector
in interfaceElementDescriber
-