pt_tap
Tap the iOS simulator screen at specified x,y coordinates to interact with UI elements. Discover coordinates via element inspection; optional hold duration supports long presses.
Instructions
Tap on the screen at the specified (x, y) coordinates. Use pt_list_elements first to find the coordinates of the element you want to tap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | The x coordinate to tap | |
| y | Yes | The y coordinate to tap | |
| udid | No | Simulator UDID (uses active device if not specified) | |
| duration | No | Hold duration in seconds for long press (e.g. 0.5 for half second) |