wait
Pause test execution until a CSS selector reaches a specified state (visible, hidden, attached, detached) with optional timeout.
Instructions
Wait for an element or condition
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | State to wait for (default: visible) | |
| timeout | No | Timeout in ms (default: 5000) | |
| selector | Yes | CSS selector to wait for |