long_press
Simulate a touch-and-hold on an Android screen at specified coordinates for a set duration. Enables UI automation and testing of press-and-hold interactions.
Instructions
Long-press at (x, y) for duration_ms (implemented as a zero-distance swipe).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| serial | No | ||
| duration_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||