wait_for
Pause browser automation until a CSS selector or text appears or disappears in the page. Use with timeout to handle dynamic content.
Instructions
Wait for a selector or text to appear/disappear.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gone | No | ||
| tabId | No | Tab id (default: active tab) | |
| frameId | No | Frame id from frames_list | |
| selector | No | ||
| allFrames | No | Act on the first match in ANY frame (the element may be in an iframe) | |
| timeoutMs | No | ||
| textContains | No | ||
| failOnAuthWall | No | Error with [AUTH_REQUIRED] if this lands on a sign-in wall (expired session) |