session_create
Create a new browser session, optionally connecting to a running Chrome via cdpEndpoint to reuse existing cookies and logins, or launching a fresh isolated browser.
Instructions
Create a new browser session. Pass cdpEndpoint to connect to a running Chrome with existing cookies/logins (e.g. "http://localhost:9222"). Without cdpEndpoint, launches a fresh isolated browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Unique identifier for the new session | |
| cdpEndpoint | No | Chrome DevTools Protocol endpoint to connect to a running Chrome (e.g. "http://localhost:9222"). Inherits all cookies and logged-in sessions. | |
| cookiesFile | No | Path to a JSON file containing cookies to load (Playwright addCookies format). Use to import logged-in sessions. |