Make sure you have installed GSD Browser and that Chrome or Chromium is available on your machine before continuing.
CLI quickstart
1
Start the daemon
The daemon starts automatically on the first browser command, but you can also pre-warm it explicitly:Verify it is running:
2
Navigate to a URL
Send the browser to any page. The daemon opens Chrome if it isn’t already running.You can combine navigation with an instant screenshot:
3
Take a snapshot to get element refs
A snapshot scans the current page and assigns stable versioned refs to every interactive element. Refs look like Example output:
@v1:e1, @v1:e2, and so on. The version prefix ensures stale refs from a previous snapshot are automatically rejected.4
Click an element using its ref
Pass a ref directly to You can also click by CSS selector when you prefer:
click. GSD Browser resolves it to the live DOM element — no CSS selector guessing required.5
Type into a field
Target an input by its ref and provide the text to type:Add
--submit to press Enter after typing, or --clear-first to empty the field before filling it:6
Capture a screenshot
Save the current viewport as an image. Both JPEG and PNG are supported.Capture the full scrollable page:
7
Stop the daemon
When you are done, stop the daemon and close the browser:
Useful CLI options
Everygsd-browser command accepts these global flags:
For example, to get JSON output from a snapshot:
AI agent path: MCP server
If you are connecting an AI agent rather than scripting the CLI directly, use the MCP server instead. It exposes the full GSD Browser surface as 50+ discoverable tools, live resources, and executable prompts to any MCP-compatible client. Start the MCP server on stdio (most clients manage the process for you):MCP Server guide
Client configuration, tool categories, resources, prompts, and remote hosting.
Snapshots & Refs
Deep dive into versioned refs — the core mechanism for reliable agent interaction.
What to explore next
Sessions
Isolate browser state, run parallel agent tasks, and persist authentication across runs.
Snapshots & Refs
Understand versioned refs, snapshot modes, and the action cache.
MCP Server
Connect Cursor, Claude Desktop, or any MCP-compatible agent.
