fix(cli): 增加 abs start 并修复 managed 9333 启动链路
This commit is contained in:
@@ -8,6 +8,13 @@ Connect to an existing browser via Chrome DevTools Protocol:
|
||||
|
||||
Default behavior in this fork: when `--cdp` is omitted, agent-browser targets the managed automation browser on `localhost:9333`. If `:9333` is unavailable, it auto-starts Chrome with the persistent profile `~/.agent-browser/chrome-bot-profile` and retries the CDP connection.
|
||||
|
||||
If you want to pre-start that managed browser explicitly, run:
|
||||
|
||||
```bash
|
||||
agent-browser start
|
||||
abs start
|
||||
```
|
||||
|
||||
Project policy:
|
||||
|
||||
- `--profile` / `AGENT_BROWSER_PROFILE` are forbidden
|
||||
|
||||
@@ -9,6 +9,7 @@ Executable aliases: `agent-browser`, `agent-browser-stealth`, `abs`.
|
||||
## Core
|
||||
|
||||
```bash
|
||||
agent-browser start # Start/reuse managed browser on localhost:9333
|
||||
agent-browser open <url> # Navigate (aliases: goto, navigate)
|
||||
agent-browser --risk-mode block open <url> # Block when verification/captcha interstitial is detected
|
||||
agent-browser click <sel> # Click element (--new-tab to open in new tab)
|
||||
|
||||
Reference in New Issue
Block a user