navigate
Loads an absolute URL in the active session tab and returns after the load event, enabling agents to fetch pages and continue after redirects.
Instructions
Load a URL in the session's active tab and return once the page's load event fires. Use new_page instead to keep the current page and load the URL in a new tab, and wait_for after this when content arrives after the load event. If every tab was closed, a new one is opened. url must be absolute (https://, http://, data:, about:); timeout bounds only the wait for the load event. The returned url is the final one after any redirects. Fails with Chrome's net error (e.g. net::ERR_NAME_NOT_RESOLVED) if the page can't load, or if timeout passes first, in which case the page may still be loading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute URL to load, including the scheme. | |
| timeout | No | Milliseconds to wait for the load event before failing. Default: no limit. | |
| sessionId | Yes | The id returned by open_browser_session. Errors if no open session has it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page's URL after any redirects. |