Tap
tapPress a React Native element by text, testID, or x/y coordinates; use duration_ms for long press and via for JS handler or OS touch, returning coordinates, path, and screen changes.
Instructions
Tap an element by text, testID, or x+y coordinates. Pass duration_ms for a long press. via picks the delivery path (js = call the component's own press handler through the app runtime, os = a real simulator/device touch, default auto). Returns the coordinates tapped, the path used, and what changed on screen.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| via | No | ||
| text | No | ||
| device | No | ||
| testID | No | ||
| duration_ms | No |