Smart Wait
wait_forHalt automation until target browser conditions occur. Monitors element visibility, text appearance, network idle, URL navigation, and JavaScript expressions before continuing execution.
Instructions
Wait for a condition before proceeding. Supports: element visible, text appears, network idle, URL navigation, JS expression truthy. Returns a fresh snapshot after the wait completes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session ID. | |
| condition | Yes | What to wait for. | |
| target | No | @eN ref or CSS selector (for element/text conditions). | |
| text | No | Text to find (for text condition) or URL pattern (for navigation). | |
| js | No | JS expression that should return truthy (for js condition). | |
| timeout | No | Max wait time in ms. Default 10000, max 30000. |