Scroll class
Scroll within a node with a given direction until a child node is found.
This action can be invoked as followed:
- scroll:
within: "Your List View"
until: "Your List Item"
direction: up # Defaults to down
timeout: 5000 # In milliseconds, default is 10 seconds
speed: 10 # Defaults to 40
Constructors
Properties
- direction → AxisDirection
-
The direction of the scrolling.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- speed → double
-
The scrolling speed.
final
- timeout → Duration
-
The time it will try to keep scrolling until it found the node.
final
- until → String
-
Scroll until the given semantic node is found.
final
- within → String
-
The string to find the semantic node, in which the scrolling will happen.
final
Methods
-
description(
) → String -
A human readable description of the action.
override
-
execute(
Tester tester) → Future< bool> -
Called when it executes the action in a flow file.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited