wait_for_element
Waits for an element to appear in the page using a CSS selector. Optionally ensures the element is visible and sets a custom timeout in seconds.
Instructions
Wait for an element to appear on the page.
Args:
selector: CSS selector to wait for
timeout: Maximum time to wait in seconds (default: 30s for SPAs)
visible: If True, also checks element is visible (not hidden)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | ||
| visible | No | ||
| selector | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |