agent-browserlisted
Install: claude install-skill DrOlu/agent-skills
# Browser Automation with agent-browser
Fast native Rust CLI for AI agent browser automation. Uses Chrome via CDP (Chrome DevTools Protocol) with a client-daemon architecture — the daemon persists between commands for fast subsequent operations.
## Installation
```bash
npm install -g agent-browser
agent-browser install # Download Chrome from Chrome for Testing (first time only)
# Or via Homebrew
brew install agent-browser
agent-browser install
# Or via Cargo
cargo install agent-browser
agent-browser install
# Upgrade
agent-browser upgrade
```
## Quick Start
```bash
agent-browser open <url> # Navigate to page
agent-browser snapshot -i # Get interactive elements with refs (@e1, @e2)
agent-browser click @e2 # Click element by ref
agent-browser fill @e3 "text" # Fill input by ref
agent-browser screenshot page.png # Screenshot
agent-browser close # Close browser
```
Clicks fail early when another element covers the target's click point. Dismiss or interact with the covering element, then take a fresh snapshot before retrying.
## Core Workflow
1. Navigate: `agent-browser open <url>`
2. Snapshot: `agent-browser snapshot -i` (returns elements with refs like `@e1`, `@e2`)
3. Interact using refs from the snapshot
4. Re-snapshot after navigation or significant DOM changes
## Commands
### Navigation
```bash
agent-browser open <url> # Navigate to URL (aliases: goto, navigate)
agent-browser open