Wait For App
mobile_wait_for_appWait until a specified app is in the foreground or an exact UI element appears, without launching, terminating, or altering the app. Use to sync automation with app readiness.
Instructions
Wait until an app is in the foreground and/or an exact visible UI target appears. This is read-only and does not launch, terminate, or otherwise change the app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device | Yes | The device identifier to use. Use mobile_list_available_devices to find which devices are available to you. | |
| appName | No | App label in the device's current locale. | |
| waitFor | No | Readiness conditions. Foreground defaults to true. | |
| packageName | No | Exact Android package name or iOS bundle identifier. |