new_page
Opens a new browser tab and makes it active, optionally loading a URL, so subsequent navigation, click, type, and screenshot actions target that tab.
Instructions
Open a new tab in the session and make it the active tab, so later navigate/click/type/screenshot calls act on it. Use navigate instead to load a URL in the current tab, and switch_tab to go back to an existing one. Tabs stay open until close_tab or close_browser_session, so close ones you no longer need. With url, the tab loads it and the call returns after the load event; if the URL fails to load, the call errors but the new tab still exists and is active. The returned index is the new tab's list_pages index.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Absolute URL to load in the new tab. Omit for about:blank. | |
| sessionId | Yes | The id returned by open_browser_session. Errors if no open session has it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| index | Yes | The tab's 0-based list_pages index. |