tap
Clicks the on-screen element whose label contains given text; refuses ambiguous matches by listing candidates, or selects first match when allowed.
Instructions
Tap the on-screen element whose label contains label.
Refuses an ambiguous label and lists the candidates, because a silent wrong tap navigates somewhere unexpected. Pass first=True to take the first match.
Returns the resolved label and coordinates actually tapped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| first | No | ||
| label | Yes | ||
| device | No |