browser_wait_for
Wait for an element to be present, visible, clickable, or absent in the DOM. Specify selector type and timeout to control browser automation flow.
Instructions
Wait for an element to satisfy a condition.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | The session ID | |
| selector | Yes | Element selector | |
| by | No | Selector type (css, xpath, id, name, class, tag) | css |
| timeout | No | Maximum seconds to wait | |
| condition | No | Condition to wait for: - "present": Element exists in DOM - "visible": Element is visible - "clickable": Element is clickable - "gone": Element no longer exists | present |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |