android.input.swipe
Perform swipe gestures on Android devices by specifying start and end coordinates, using scrcpy protocol for real-time control or ADB as fallback.
Instructions
Swipes from (x1,y1) to (x2,y2). Uses fast scrcpy control protocol when stream is active, otherwise falls back to adb shell input.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| serial | Yes | ||
| x1 | Yes | ||
| y1 | Yes | ||
| x2 | Yes | ||
| y2 | Yes | ||
| durationMs | No |