tap_and_wait
Tap an Android UI element and wait for the interface to stabilize, returning the updated UI tree in a single operation to automate touch interactions.
Instructions
Tap element then wait for UI to settle and return the new UI tree. Combines tap + wait + get_ui_tree into a single fast operation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | How to find the element to tap | |
| value | Yes | Value to match | |
| wait_ms | No | Time to wait for UI to settle after tap (default 1000ms) | |
| device_id | No | Device ID (optional if only one device) |