wait_for
Wait for an element to appear, network idle, or a JavaScript expression to return true. Specify a condition and optional timeout.
Instructions
Wait for a condition: element visible, network idle, or JS expression true
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| condition | Yes | What to wait for: element visibility, network idle, or JS expression returning true | |
| selector | No | CSS selector or element ref (e.g. 'e5') — required when condition is 'element' | |
| expression | No | JavaScript expression that should evaluate to true — required when condition is 'js' | |
| timeout | No | Maximum wait time in milliseconds (default: 10000) |