Wait for Browser Condition
browser_waitWait for a specific selector, URL pattern, network quiet period, or bounded timeout. Enables precise synchronization in browser automation debugging.
Instructions
Use when the reproduction needs an explicit selector, URL, quiet-period, or bounded timeout wait instead of an arbitrary sleep. Preconditions: an active page is required and mode-specific selector or pattern inputs should be narrow. Next: perform the next action immediately after the expected condition is reached. Sensitivity: waiting observes live page and network state but does not itself redact any subsequently captured data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| delayMs | No | ||
| pattern | No | ||
| quietMs | No | ||
| selector | No | ||
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| error | No | ||
| result | No |