long_press
Simulate long press interactions on mobile devices by specifying coordinates or element text, with customizable duration and platform targeting for Android and iOS automation.
Instructions
Long press at coordinates or on an element
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | X coordinate | |
| y | No | Y coordinate | |
| text | No | Find element by text (Android only) | |
| duration | No | Duration in milliseconds (default: 1000) | |
| platform | No | Target platform. If not specified, uses the active device. |