Tap
tapPress an Android screen element by snapshot reference, visible text or content description, or raw pixel coordinates; use screenshot dimensions to map image points to the device screen.
Instructions
Tap an element. Prefer ref from a snapshot(), or text/content_desc
to tap by visible label. Falls back to raw x,y pixel coordinates: in
device pixels, or, with image_width and image_height, in the pixels
of a screenshot of that size (the API maps the point to the screen).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| ref | No | ||
| text | No | ||
| device | No | ||
| image_width | No | ||
| content_desc | No | ||
| image_height | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||