wait_for_gone
Wait for an element to disappear from the DOM or become hidden before proceeding. Use to ensure modals close or loading spinners vanish within a timeout.
Instructions
Block until an element disappears — removed from the DOM or hidden — up to timeout. Returns {success} once it's gone, or times out. Use to wait for a modal/dialog to close or a loading spinner to vanish before the next step.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout | No | Max wait time in ms (default: 30000) | |
| selector | Yes | CSS selector of element to wait for disappearance | |
| session_id | Yes | Session ID |