Wait For
wait_forPause test execution until specified text appears, an app/activity is in the foreground, or disappears when gone=true. Handles long waits for downloads or uploads with timeout and polling interval.
Instructions
Wait until text is on screen and/or an app/activity is in the foreground (gone=true waits for it to disappear). For long waits (downloads, uploads); gestures already settle.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gone | No | ||
| text | No | ||
| device | No | ||
| package | No | ||
| timeout | No | ||
| activity | No | ||
| interval | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||