Skip to main content
A swipe moves between two points. Swipe upward to move down a list; swipe downward to move up.
The CLI swipe command is coordinate-only.
The CLI and Python defaults are 300 milliseconds. Go requires the duration argument explicitly.

Drag one element to another

Read both positions with bounding_box(), then swipe between their centers:
bounding_box() waits for each target like any locator action. The drag itself is DCP Touch.swipe. Live swipe actions are not REST operations.

Next steps

Tap

Tap semantic or coordinate targets.

Observe

Verify the screen after a swipe.