Open a new tab in the session, optionally navigating to a URL.
/browser/sessions/{id}/pages endpoint opens a new tab inside a browser session. Both body fields are optional:
url to open about:blank.activate: false to open the tab in the background without switching focus from the currently active tab.pageId — the CDP target identifier used by /pages/{pageId}/activate and DELETE /pages/{pageId}.
POST /browser/sessions.http or https scheme. When omitted, the tab opens to about:blank.true (default), the new tab becomes the active tab for subsequent session-scoped operations. Set false to open in the background.about:blank when no URL was provided.| Status | Description |
|---|---|
400 | Invalid body — malformed URL or non-http(s) scheme. |
401 | Unauthorized — invalid or missing API key. |
404 | Session not found or not owned by the caller. |
408 | Navigation timeout while loading the supplied URL. |
503 | The browser session is temporarily unreachable. |
about:blank tab.activate: false to open in the background — the previously active tab remains active for subsequent mouse, keyboard, navigate, content, and screenshot calls.pageId — it’s the handle you pass to POST /pages/{pageId}/activate and DELETE /pages/{pageId}.