Skip to main content
Back to docs
workflowbrowser-use
Install
Source: packages/harness-kit/src/registry/bundles/workflow/browser-use/README.md

Browser Use

Playwright browser automation via persistent CLI daemon. Fine-grained control with ~50ms latency per command.

Artifacts

TypeDetail
toolpip install browser-use && browser-use setup
skillbrowser-use/browser-use — CLI commands, workflow patterns

Requirements

  • Python 3.11+
  • Chrome/Chromium installed

What it does

CLI tool with a background daemon that keeps the browser alive between commands. Claude controls the browser directly via shell commands — navigate, click, type, extract data, take screenshots.

Key commands:

  • browser-use open <url> — navigate
  • browser-use state — discover clickable elements with indices
  • browser-use click <index> / browser-use input <index> "text" — interact by index
  • browser-use screenshot — capture page
  • browser-use eval "js code" — run JavaScript
  • browser-use get html --selector "css" — extract content

Browser modes: headless (default), --headed (visible), --profile (real Chrome with logins), cloud.

Setup

  1. Ensure Python 3.11+ and Chrome are installed
  2. Run harness-kit add browser-use
  3. Run browser-use doctor to verify installation

vs agent-browser

browser-useagent-browser
RuntimePython, PlaywrightNode.js, Playwright
ApproachCLI daemon, element indicesAccessibility tree snapshots
Page representationstate command (clickable elements)A11y tree (~200-400 tokens)
ScreenshotBuilt-in screenshot commandNot needed (text-based)
SessionPersistent daemon across commandsPer-command
Cloud optionbrowser-use cloud connectNo

Notes

  • Daemon keeps browser alive — no startup cost after first open
  • browser-use state is the key command — always run it first to get element indices
  • Aliases: bu, browser, browseruse
  • Skill source: skills.sh/browser-use/browser-use