TextMatcher class
Matches widgets by their text content.
- Inheritance
-
- Object
- WidgetMatcher
- TextMatcher
Constructors
- TextMatcher(String text)
-
const
-
TextMatcher.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
matches(
Element element, MarionetteConfiguration configuration) → bool -
Checks if the given
elementmatches this matcher's criteria.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts this matcher to a JSON-serializable map.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited