Tap node by visible text
devilge_tap_textTaps a UI element by matching its text or content description. Supports exact and substring modes.
Instructions
Internally dumps the UI, finds the unique node whose text or contentDescription matches, and taps its bounds center. Errors when 0 or >1 matches — the caller must disambiguate with a more specific text or use contains for substring match.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Visible text or contentDescription of the node to tap. | |
| serial | No | Device serial. Defaults to DEVILGE_DEFAULT_DEVICE_SERIAL or the only attached device. | |
| contains | No | If true, substring match (case-insensitive). Default false (exact match). |