browser_wait_for_result
Evaluate a JavaScript expression repeatedly until it returns a non-empty result, enabling agents to wait for dynamic page elements or data before proceeding.
Instructions
Poll a JavaScript expression until it returns a non-empty result.
Args: code: JavaScript expression to evaluate repeatedly timeout: Maximum time to wait in milliseconds poll_interval: How often to check in milliseconds tab_id: Optional tab to target. Defaults to active tab.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| tab_id | No | ||
| timeout | No | ||
| poll_interval | No |