Wait For
wait_forBlock automation until downloads, uploads, processing, or status changes finish; also pause until specified text, package, or activity appears or disappears.
Instructions
LONG waits only (downloads, uploads, processing, status changes); gestures already settle. With text / package / activity: wait until that is on screen (gone=true: until it disappears). Otherwise wait until loading finishes (no progress bar or "Loading" text) and the screen is still; condition is echoed back, you judge the returned state. Timeouts: timeout_ms (default 5000, max 30000) / poll_interval_ms (default 500, min 100), or timeout / interval in seconds.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gone | No | ||
| text | No | ||
| device | No | ||
| package | No | ||
| timeout | No | ||
| activity | No | ||
| interval | No | ||
| condition | No | ||
| timeout_ms | No | ||
| poll_interval_ms | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||