wait_for_element
Wait for a UI element to appear on an Android device screen by polling every 500ms. Specify how to find the element and set a timeout to ensure automation scripts proceed only when elements are ready.
Instructions
Wait for a UI element to appear on screen. Polls every 500ms.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | How to find the element | |
| value | Yes | Value to match | |
| timeout_ms | No | Timeout in ms (default 10000) | |
| device_id | No | Device ID (optional if only one device) |