SwipeWithSegments Method (MobileObject)

Class

MobileObject class

Action

Performs a swipe between the specified points.

Syntax

object.SwipeWithSegments(segments, [steps, delayBetweenSteps])
Variable Description
segments The points between to swipe. LIST OF POINT.
steps Optional.the number of steps for the swipe. 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.