Class
MobileDevice class
Action
Performs a swipe between the two specified points.
Syntax
device.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. Increase the amount of steps to increase the duration of the swipe. INTEGER. |
delayBetweenSteps |
Optional.the delay in milliseconds between swipe steps. For example, when scrolling an application with a swipe operation, it depends on the swipe speed how far the application scrolls. Typically a higher delay (e.g. 300 milliseconds) creates more reproducible results. INTEGER. |