Swipe is a mobile-only action that simulates a user swiping a finger across the screen of a mobile device. This action is only supported in the Mobile and Chrome agents.
The following properties are stored within this action:
- target – This target indicates the element on the page on which to perform the swipe.
- coords – This is a list of x,y coordinates in relation to the top left corner of the element defined by the target. When the agent executes the swipe action, it moves the mouse to these positions with a 250-ms wait between each coordinate on the list.