The default session
If you run any command without--session, GSD Browser uses a single shared default session. This is fine for simple scripting and one-off tasks. For anything that requires isolation — multiple agents running concurrently, different user accounts, or separate test environments — use named sessions.
Targeting a named session
Add--session <name> to any command to route it to that session’s daemon instance:
Daemon management per session
Each named session runs its own daemon. Use thedaemon subcommands with --session to manage a specific session’s daemon:
Saving and restoring browser state
Persist the full browser state — cookies, local storage, session storage — to disk so it can be restored later. This is the recommended way to preserve authenticated states across daemon restarts.What sessions scope
Named sessions are more than just browser profiles. Several GSD Browser subsystems use the session name as a namespace:
This means the action cache learned from a
checkout session does not bleed into a dashboard session, and vault credentials stored for checkout are not accessible to dashboard.
Common patterns
- Persistent auth
- Parallel agents
- Clean test scenarios
Log in once, save the session state, then restore it on every future run to skip the login flow:
Sessions in MCP
When using the MCP server, pass the session name in the serverargs or as an environment variable so every tool call is automatically routed to the right session:
