android_wait
Wait for a fixed delay or until specified text appears or disappears. Use during animations to let the UI settle before proceeding.
Instructions
Wait for a fixed delay, or until some text appears or disappears.
Use this instead of screenshotting into the middle of an animation.
Args: ms: Fixed sleep in milliseconds. until_text: Poll until this text/content-desc is present. until_gone: Poll until this text/content-desc is absent. timeout_ms: Give up after this long when polling. device: Device serial; defaults to the first physical device.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ms | No | ||
| device | No | ||
| timeout_ms | No | ||
| until_gone | No | ||
| until_text | No |