AgentToolHub
Skill

electron

electron — a Claude Code skill from vercel-labs/agent-browser

Features

  • ✓Browser automation with Rust CLI
  • ✓Native binary installation options
  • ✓Supports Chrome, Brave, Playwright, and Puppeteer
  • ✓Quick start with example commands
  • ✓Traditional selectors for element interaction

Installation Guide

Global Installation (recommended)

Installs the native Rust binary:

bash
npm install -g agent-browser
agent-browser install  # Download Chrome from Chrome for Testing (first time only)

Project Installation (local dependency)

For projects that want to pin the version in package.json:

bash
npm install agent-browser
agent-browser install

Then use via package.json scripts or by invoking agent-browser directly.

Homebrew (macOS)

bash
brew install agent-browser
agent-browser install  # Download Chrome from Chrome for Testing (first time only)

Cargo (Rust)

bash
cargo install agent-browser
agent-browser install  # Download Chrome from Chrome for Testing (first time only)

From Source

bash
git clone https://github.com/vercel-labs/agent-browser
cd agent-browser
pnpm install
pnpm build
pnpm build:native   # Requires Rust (https://rustup.rs)
pnpm link --global  # Makes agent-browser available globally
agent-browser install

Linux Dependencies

On Linux, install system dependencies:

bash
agent-browser install --with-deps

Updating

Upgrade to the latest version:

bash
agent-browser upgrade

Detects your installation method (npm, Homebrew, or Cargo) and runs the appropriate update command automatically.

Requirements

  • Chrome - Run agent-browser install to download Chrome from Chrome for Testing (Google's official automation channel). Existing Chrome, Brave, Playwright, and Puppeteer installations are detected automatically. No Playwright or Node.js required for the daemon.

  • Rust - Only needed when building from source (see From Source above).
  • Reviews