Wait For Load
wait_for_loadWait for a tab to finish loading and its document to be ready, optionally matching a URL substring. Use it after triggering navigation to confirm the page is ready for further actions.
Instructions
Poll until a tab has finished loading and the document is ready. Use after an action that triggers navigation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tab_id | No | Arc tab id from list_tabs. Omit to use this agent's current tab, falling back to whatever tab is active in Arc. | |
| timeout_ms | No | Give up after this long. Capped at 30000ms, because a longer call is killed by the client before it can answer. To wait longer, call wait_for_load again: repeated short waits each hand back a real readyState and url, which one long wait does not. | |
| url_contains | No | Also wait until the url contains this substring |