Swipe class

Swipe left or right within a node until a child node is found.

This action can be invoked as followed:

- swipe:
    within: "Your List View"
    until: "Your List Item"
    direction: right # Defaults to left
    timeout: 5000 # In milliseconds, default is 10 seconds
    speed: 10 # Defaults to 40
Inheritance

Constructors

Swipe({required String within, required String until, AxisDirection direction = AxisDirection.left, int? timeout, double speed = 40})
{@template swipe}

Properties

direction AxisDirection
The direction of the scrolling.
finalinherited
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.
finalinherited
timeout Duration
The time it will try to keep scrolling until it found the node.
finalinherited
until String
Scroll until the given semantic node is found.
finalinherited
within String
The string to find the semantic node, in which the scrolling will happen.
finalinherited

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.
inherited
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