browser_wait_for_function
Pause browser automation until a JavaScript expression becomes truthy; set a timeout and polling interval to wait for dynamic page states before proceeding.
Instructions
Wait for a JavaScript expression to become truthy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| script | Yes | ||
| session_id | Yes | ||
| timeout_seconds | No | ||
| poll_interval_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||