AppiumWebElement class

Constructors

AppiumWebElement(AppiumWebDriver driver, AsyncRequestClient _client, AppiumWebDriverHandler _handler, String id, [AppiumSearchContext? context, dynamic locator, int? index])

Properties

attributes → Attributes
Access to the HTML attributes of this tag.
no setter
context → AppiumSearchContext?
The context from which this element was found.
final
cssProperties → Attributes
Access to the cssProperties of this element.
no setter
displayed Future<bool>
Is this element visible in the page?
no setter
driver AppiumWebDriver
final
enabled Future<bool>
Is this form element enabled?
no setter
hashCode int
The hash code for this object.
no setteroverride
id String
final
index int?
The index of this element in the set of element founds. If the method used to find this element always returns one element, then this is null.
final
location Future<Point<num>>
The location within the document of this element.
no setter
locator → dynamic
How the element was located from the context.
final
name Future<String>
The tag name for this element.
no setter
properties → Attributes
Access to the HTML properties of this tag.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selected Future<bool>
Is this radio button/checkbox selected?
no setter
seleniumAttributes → Attributes
Access to the selenium attributes of this tag.
no setter
size Future<Rectangle<int>>
The size of this element.
no setter
text Future<String>
Visible text within this element.
no setter

Methods

clear() Future<void>
Clear the content of a text element.
click() Future<void>
Click on this element.
equals(AppiumWebElement other) Future<bool>
findElement(AppiumBy by) Future<AppiumWebElement>
Find an element nested within this element.
findElements(AppiumBy by) Stream<AppiumWebElement>
Find multiple elements nested within this element.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendKeys(String keysToSend) Future<void>
Send keysToSend to this element.
toJson() Map<String, String>
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
override