wait_for_element
Polls Android UI until a queried element appears or disappears, with configurable timeout. Use after navigation or network calls to confirm screen state.
Instructions
Poll until an element matching the query appears (or disappears). Useful after navigation or network calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gone | No | Wait for the element to disappear instead | |
| query | Yes | ||
| serial | No | Device serial (e.g. emulator-5554). Optional when exactly one device is connected. | |
| timeout_seconds | No |