This commit is contained in:
Chris Tate
2026-03-13 20:16:29 -05:00
committed by GitHub
parent bdfcc4ee2d
commit f8482f3533
4 changed files with 20 additions and 2 deletions
+7
View File
@@ -31,6 +31,13 @@ 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
+3 -1
View File
@@ -2638,7 +2638,9 @@ Environment:
AGENT_BROWSER_SCREENSHOT_FORMAT Screenshot format: png, jpeg
Install:
npm install -g agent-browser
npm install -g agent-browser # npm
brew install agent-browser # Homebrew
cargo install agent-browser # Cargo
agent-browser install # Download Chrome (first time)
Examples:
+9
View File
@@ -40,6 +40,15 @@ brew install agent-browser
agent-browser install # Download Chrome (first time)
```
## Cargo (Rust)
```bash
cargo install agent-browser
agent-browser install # Download Chrome (first time)
```
Compiles from source (~2-3 min). Requires the Rust toolchain ([rustup.rs](https://rustup.rs)).
## From source
```bash
+1 -1
View File
@@ -6,7 +6,7 @@ allowed-tools: Bash(npx agent-browser:*), Bash(agent-browser:*)
# Browser Automation with agent-browser
The CLI uses Chrome/Chromium via CDP directly. Run `agent-browser install` to download Chrome.
The CLI uses Chrome/Chromium via CDP directly. Install via `npm i -g agent-browser`, `brew install agent-browser`, or `cargo install agent-browser`. Run `agent-browser install` to download Chrome.
## Core Workflow