long-press
Simulate a long press gesture on mobile app elements to access context menus or secondary actions. Specify element selector and press duration for precise automation.
Instructions
Perform a long press gesture on an element
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes | Element selector (e.g., xpath, id) | |
| duration | No | Duration of the long press in milliseconds (default: 1000) | |
| strategy | No | Selector strategy: xpath, id, accessibility id, class name (default: xpath) |