Class
MobileObject class
Action
Performs a swipe between the two specified points.
Syntax
object.Swipe(start, end, [steps, delayBetweenSteps])
Variable |
Description |
start |
The start point of the swipe. POINT. |
end |
The end point of the swipe. POINT. |
steps |
Optional.the number of steps between the specified points. The default number of steps for Android is 5. Increase the number
of steps to increase the duration of the swipe operation. For iOS, a swipe operation is always performed in a single step.
INTEGER.
|
delayBetweenSteps |
Optional.the delay in milliseconds for each swipe step. For example, when scrolling an application with a swipe operation,
how far the application scrolls depends on the swipe speed. The default value is 5 milliseconds. Increase this delay, for
example to 300 milliseconds, to create more reproducible results. INTEGER.
|