agent-browser 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +11 -25
- package/bin/agent-browser-darwin-arm64 +0 -0
- package/bin/agent-browser-darwin-x64 +0 -0
- package/bin/agent-browser-linux-arm64 +0 -0
- package/bin/agent-browser-linux-x64 +0 -0
- package/bin/agent-browser-win32-x64.exe +0 -0
- package/package.json +1 -1
- package/skills/agent-browser/SKILL.md +2 -0
package/README.md
CHANGED
|
@@ -327,6 +327,7 @@ agent-browser snapshot -i -c -d 5 # Combine options
|
|
|
327
327
|
| `--user-agent <ua>` | Custom User-Agent string (or `AGENT_BROWSER_USER_AGENT` env) |
|
|
328
328
|
| `--proxy <url>` | Proxy server URL with optional auth (or `AGENT_BROWSER_PROXY` env) |
|
|
329
329
|
| `--proxy-bypass <hosts>` | Hosts to bypass proxy (or `AGENT_BROWSER_PROXY_BYPASS` env) |
|
|
330
|
+
| `-p, --provider <name>` | Cloud browser provider (or `AGENT_BROWSER_PROVIDER` env) |
|
|
330
331
|
| `--json` | JSON output (for agents) |
|
|
331
332
|
| `--full, -f` | Full page screenshot |
|
|
332
333
|
| `--name, -n` | Locator name filter |
|
|
@@ -661,6 +662,16 @@ Use agent-browser to test the login flow. Run agent-browser --help to see availa
|
|
|
661
662
|
|
|
662
663
|
The `--help` output is comprehensive and most agents can figure it out from there.
|
|
663
664
|
|
|
665
|
+
### AI Coding Assistants
|
|
666
|
+
|
|
667
|
+
Add the skill to your AI coding assistant for richer context:
|
|
668
|
+
|
|
669
|
+
```bash
|
|
670
|
+
npx skills add vercel-labs/agent-browser
|
|
671
|
+
```
|
|
672
|
+
|
|
673
|
+
This works with Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Goose, OpenCode, and Windsurf.
|
|
674
|
+
|
|
664
675
|
### AGENTS.md / CLAUDE.md
|
|
665
676
|
|
|
666
677
|
For more consistent results, add to your project or global instructions file:
|
|
@@ -677,31 +688,6 @@ Core workflow:
|
|
|
677
688
|
4. Re-snapshot after page changes
|
|
678
689
|
```
|
|
679
690
|
|
|
680
|
-
### Claude Code Skill
|
|
681
|
-
|
|
682
|
-
For Claude Code, a [skill](https://platform.claude.com/docs/en/agents-and-tools/agent-skills/best-practices) provides richer context.
|
|
683
|
-
|
|
684
|
-
**Plugin (recommended):**
|
|
685
|
-
|
|
686
|
-
```bash
|
|
687
|
-
/plugin marketplace add vercel-labs/agent-browser
|
|
688
|
-
/plugin install agent-browser
|
|
689
|
-
```
|
|
690
|
-
|
|
691
|
-
**Manual install:**
|
|
692
|
-
|
|
693
|
-
```bash
|
|
694
|
-
cp -r node_modules/agent-browser/skills/agent-browser .claude/skills/
|
|
695
|
-
```
|
|
696
|
-
|
|
697
|
-
Or download directly:
|
|
698
|
-
|
|
699
|
-
```bash
|
|
700
|
-
mkdir -p .claude/skills/agent-browser
|
|
701
|
-
curl -o .claude/skills/agent-browser/SKILL.md \
|
|
702
|
-
https://raw.githubusercontent.com/vercel-labs/agent-browser/main/skills/agent-browser/SKILL.md
|
|
703
|
-
```
|
|
704
|
-
|
|
705
691
|
## Integrations
|
|
706
692
|
|
|
707
693
|
### Browserbase
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -225,6 +225,7 @@ agent-browser --json ... # JSON output for parsing
|
|
|
225
225
|
agent-browser --headed ... # Show browser window (not headless)
|
|
226
226
|
agent-browser --full ... # Full page screenshot (-f)
|
|
227
227
|
agent-browser --cdp <port> ... # Connect via Chrome DevTools Protocol
|
|
228
|
+
agent-browser -p <provider> ... # Cloud browser provider (--provider)
|
|
228
229
|
agent-browser --proxy <url> ... # Use proxy server
|
|
229
230
|
agent-browser --headers <json> ... # HTTP headers scoped to URL's origin
|
|
230
231
|
agent-browser --executable-path <p> # Custom browser executable
|
|
@@ -248,6 +249,7 @@ agent-browser --proxy socks5://proxy.com:1080 open example.com
|
|
|
248
249
|
AGENT_BROWSER_SESSION="mysession" # Default session name
|
|
249
250
|
AGENT_BROWSER_EXECUTABLE_PATH="/path/chrome" # Custom browser path
|
|
250
251
|
AGENT_BROWSER_EXTENSIONS="/ext1,/ext2" # Comma-separated extension paths
|
|
252
|
+
AGENT_BROWSER_PROVIDER="browserbase" # Cloud browser provider
|
|
251
253
|
AGENT_BROWSER_STREAM_PORT="9223" # WebSocket streaming port
|
|
252
254
|
AGENT_BROWSER_HOME="/path/to/agent-browser" # Custom install location (for daemon.js)
|
|
253
255
|
```
|