navigate_tab
Navigate the connected Chrome tab to a URL and wait up to 30 seconds for page load or pause; returns the outcome or call stack when a breakpoint stops the new page.
Instructions
Navigate the connected tab to a URL and wait up to 30s for the new page's load event — or for execution to pause first, e.g. on a breakpoint the new page hits during startup, in which case the call stack is returned. outcome is "loaded", "paused", "still-loading" (the new page is in place but its load event had not fired by the deadline), "same-document" (only the #hash changed; there is no load to wait for) or "download" (the URL was downloaded and the page did not change). Breakpoints carry over to the new page. Also works while paused, no need to resume first: the pause ends with the old page.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Absolute URL, including the scheme. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | ||
| note | No | ||
| title | No | ||
| reason | No | Pause reason. Present only when paused. | |
| outcome | Yes | "loaded": the load event fired. "paused": execution paused before it did — see callStack. "same-document": only the #hash changed, so there is no load to wait for. "still-loading": the page committed but its load event did not fire in time. "download": the URL was handed to the download manager and the page did not change. | |
| callStack | No | Same shape as get_debugger_state. Present only when paused. | |
| droppedBreakpoints | No | Breakpoints set by `source` whose file has changed since: removed, and reported here once. |