midscene_aiWaitFor
Monitor web pages using AI to wait for specified conditions described in natural language, automating test flows by polling until assertions become true.
Instructions
Waits until a specified condition, described in natural language, becomes true on the page. Polls the condition using AI.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assertion | Yes | Condition to monitor on the page, described in natural language. | |
| timeoutMs | No | Maximum time to wait (ms). Default: 15000 | |
| checkIntervalMs | No | How often to check the condition (ms). Default: 3000 |