fix (#770)
This commit is contained in:
@@ -31,6 +31,13 @@ brew install agent-browser
|
|||||||
agent-browser install # Download Chrome from Chrome for Testing (first time only)
|
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
|
### From Source
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
+3
-1
@@ -2638,7 +2638,9 @@ Environment:
|
|||||||
AGENT_BROWSER_SCREENSHOT_FORMAT Screenshot format: png, jpeg
|
AGENT_BROWSER_SCREENSHOT_FORMAT Screenshot format: png, jpeg
|
||||||
|
|
||||||
Install:
|
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)
|
agent-browser install # Download Chrome (first time)
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
|
|||||||
@@ -40,6 +40,15 @@ brew install agent-browser
|
|||||||
agent-browser install # Download Chrome (first time)
|
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
|
## From source
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ allowed-tools: Bash(npx agent-browser:*), Bash(agent-browser:*)
|
|||||||
|
|
||||||
# Browser Automation with 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
|
## Core Workflow
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user