wait_for
Pause execution until an element appears, becomes visible, or displays specific text, with configurable timeout, to handle dynamic page content during browser automation.
Instructions
Wait until an element [ref] appears or some visible text is present (or specific condition), up to timeoutMs (default 10000). Supports condition: 'exists' | 'visible' | 'text'. Use in testing and automation flows for resilience on dynamic sites.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | No | ||
| text | No | ||
| condition | No | ||
| timeoutMs | No |