Wait For
wait_forPause automation until text, an element state, a URL pattern, or a JS predicate holds, checking current state first so completed conditions return immediately.
Instructions
Wait for text to appear or disappear, an element to reach a state, a URL
to match, or a JS predicate to hold. EVERY condition is checked against the
current state first and returns immediately when it already holds, so a
wait issued after the thing already happened costs nothing instead of
timing out (a URL wait could otherwise expire on a navigation that had
already finished). A url value without wildcards matches as a substring;
use * and ? for globbing. Real timeouts, and a failure that says what was
awaited and what was observed instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| value | No | ||
| location | No | ||
| condition | Yes | ||
| timeout_ms | No |