wait_and_snapshot
Waits for a specified selector or text to reach a visible or attached state, then returns a page snapshot. Combines waiting and snapshotting into one call for conditional page capture.
Instructions
Wait for selector/text then return snapshot. Combines wait_for + browser_snapshot in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | Text to wait for | |
| state | No | visible | |
| timeout | No | ||
| selector | No | CSS selector to wait for |