session_create
Open an additional independent browser session with its own cookies and login state, then make it active. Use it to test multiple users at once or compare states side by side.
Instructions
Open an additional, independent browser session (its own window, cookies, and login state) and make it the active one; all other tools act on the active session. Use it to test several users at once, such as a buyer and a seller, or to compare two states side by side. Switch between sessions with session_select. Takes the same options as start_browser. Returns the new session and overall status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| browser | No | Which browser to launch: chrome (default), firefox, or edge. It must be installed on this machine. | chrome |
| headless | No | Run without a visible window (default false). | |
| sessionId | No | Optional readable id for the session, e.g. 'buyer' or 'admin' (1-128 chars). Defaults to a random UUID. | |
| windowSize | No | Initial window size, e.g. { width: 1440, height: 900 }. Change it later with the window tool's resize action. | |
| browserArgs | No | Extra command-line flags for the browser, e.g. ['--incognito']. Default none. | |
| scriptTimeoutMs | No | Maximum time an asynchronous script may run, in milliseconds (default 30000). | |
| pageLoadTimeoutMs | No | Maximum time a page load may take before navigate fails, in milliseconds (default 30000). |