browser

Automate browser interactions using the Browserbase browse CLI. Use when a task requires navigating websites, reading page state, clicking elements, filling…

npx skills add https://github.com/browserbase/stagehand --skill browser

Browser Automation

Automate browser interactions using the browse CLI with Claude.

Setup

Do not install packages during evals. The eval harness provides browse on PATH and pins it to the active benchmark session.

Environment Selection

The eval harness pins browse to one isolated session and preselects the intended environment.

  • Local mode uses local Chrome.
  • Remote mode uses Browserbase when credentials are configured.
  • Do not switch environments unless the task or harness explicitly requires it.

Page State

Prefer browse snapshot over screenshots. It returns a structured accessibility tree with element refs that can be used for interactions.

Only use screenshots when visual layout or image content is necessary.

Useful state checks:

browse status
browse get url
browse get title
browse snapshot

Interaction Workflow

Typical flow:

  1. Navigate to the starting URL with browse open <url>.
  2. Run browse snapshot to inspect structure and element refs.
  3. Interact with refs from the snapshot, selectors, or keyboard actions.
  4. Run browse snapshot or another state check to verify the result.
  5. Repeat until the benchmark instruction is complete.

Common interaction patterns:

browse click <ref>
browse type <text>
browse press <key>
browse fill <selector> <value>
browse wait timeout <ms>

Best Practices

  • Always navigate before interacting.
  • Use refs from browse snapshot when possible.
  • Verify each important action before moving on.
  • Keep actions focused on the benchmark instruction.
  • Do not edit repository files.
  • Do not use browser/network tools outside the provided browse command.

Completion

When finished, report the benchmark result in the exact EVAL_RESULT format requested by the harness prompt.

More skills from browserbase

browser-automation
browserbase
Automate web browser interactions using MCP tools. Use when the user asks to browse websites, navigate web pages, extract data from websites, take screenshots,…
official
functions
browserbase
Guide deployment of serverless browser automation using the official Browserbase Functions CLI. Use when the user wants to deploy automation to run on a…
official
browse
browserbase
Use the browse CLI for Browserbase browser automation, Browserbase cloud APIs, Browserbase Functions, templates, web fetch/search, diagnostics, and Browse.sh…
official
agent-experience
browserbase
Audit the developer experience of a product, SDK, docs site, or SKILL.md by dropping multiple Claude subagents at it with only a tiny task prompt and real…
official
autobrowse
browserbase
Self-improving browser automation via the auto-research loop. Iteratively runs a browsing task, reads the trace, and improves the navigation skill…
official
browse
browserbase
Complete guide for creating and deploying browser automation functions using the browse CLI
official
browser
browserbase
Browser automation with local Chrome or remote Browserbase for protected sites, bot detection, and CAPTCHAs. Two modes: local Chrome (default, no setup) or remote Browserbase (anti-bot stealth, automatic CAPTCHA solving, residential proxies, session persistence) Core commands cover navigation, page inspection, interaction (click, type, fill, select, drag), and session management via CLI Use browse snapshot to read the accessibility tree and get element refs for reliable interactions; reserve...
official
Browser Automation
browserbase
Automate web browser interactions using natural language via CLI commands. Use when the user asks to browse websites, navigate web pages, extract data from…
official