dom_wait_for
Ensure a DOM element is present by polling every 100ms until the CSS selector matches, with optional visibility check and timeout to control waiting.
Instructions
Wait for an element to appear in the DOM (polls every 100ms).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Timeout in milliseconds (default: 5000) | |
| visible | No | Also require the element to be visible (default: false) | |
| selector | Yes | CSS selector to wait for | |
| targetId | Yes | Target ID of the tab |