navigate
Load an absolute URL in the session's active tab and wait until the page loads, network activity settles, or specified text appears; returns the final URL after redirects.
Instructions
Load a URL in the session's active tab and return once the page's load event fires, or with waitUntil: networkidle once its requests go quiet, or once text shows. Use new_page instead to keep the current page and load the URL in a new tab. 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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sessionId": "<sessionId>",
"url": "<url>"
},
"name": "navigate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute URL to load, including the scheme. | |
| text | No | Also wait until this text shows in the page (case-sensitive), failing if it doesn't. | |
| 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. | |
| waitUntil | No | `load` (default) returns at the load event; `networkidle` also waits until no new request has started for 500ms, for pages that render themselves after loading. | |
| settleTimeout | No | Milliseconds to wait for `waitUntil: networkidle` or `text` after the load event, at most 25000. Default 10000. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The page's URL after any redirects. |