(x, y) or Point/BBox objects.
Taps
| Method | Parameters | Description |
|---|---|---|
tap(target) | target: coordinates or description string | Single tap |
double_tap(point) | point: coordinates | Double tap |
tap_and_hold(point, duration_ms=1000) | point: coordinates, duration_ms: hold time | Long press |
Swipes
| Method | Parameters | Description |
|---|---|---|
flick(point, direction) | direction: "up", "down", "left", "right" | Quick swipe gesture |
pan(point, direction, duration_ms=500) | Same as flick + duration_ms | Controlled scroll |
Drag
| Method | Parameters | Description |
|---|---|---|
drag(from_point, to_point) | Start and end coordinates | Drag between points |
hold_and_drag(from_point, to_point, hold_duration_ms=500) | Same + hold duration | Hold before dragging (for reordering) |
Pinch
| Action | Effect |
|---|---|
pinch_out | Zoom in (fingers apart) |
pinch_in | Zoom out (fingers together) |
rotate_cw | Rotate clockwise |
rotate_ccw | Rotate counter-clockwise |