Add browser automation features to README
Added features section for browser automation using Chromium, including configuration options and notes for Docker usage.
This commit is contained in:
@@ -53,6 +53,41 @@ See `openclaw_assistant/config.yaml` for the authoritative schema.
|
|||||||
- `homeassistant_token` (optional) — written to `/config/secrets/homeassistant.token` for local scripts.
|
- `homeassistant_token` (optional) — written to `/config/secrets/homeassistant.token` for local scripts.
|
||||||
- `router_ssh_*` (optional) — SSH settings for a router/network device (custom automation).
|
- `router_ssh_*` (optional) — SSH settings for a router/network device (custom automation).
|
||||||
|
|
||||||
|
## Features
|
||||||
|
|
||||||
|
### Browser Automation (Chromium)
|
||||||
|
|
||||||
|
This add-on includes **Chromium** for website automation tasks. OpenClaw can use it for browser-based skills and automation.
|
||||||
|
|
||||||
|
#### Configuration
|
||||||
|
|
||||||
|
OpenClaw's browser tool uses its own control service/protocol. Configure it in one of two ways:
|
||||||
|
|
||||||
|
**Option 1: Via `openclaw.json`**
|
||||||
|
|
||||||
|
Add to `/config/.openclaw/openclaw.json`:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"browser": {
|
||||||
|
"enabled": true,
|
||||||
|
"headless": true,
|
||||||
|
"noSandbox": true,
|
||||||
|
"cdpUrl": "http://127.0.0.1:9222"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
**Option 2: Via Gateway Flags**
|
||||||
|
|
||||||
|
Start OpenClaw gateway with browser flags:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
openclaw gateway --browser-headless --browser-no-sandbox
|
||||||
|
```
|
||||||
|
|
||||||
|
**Note:** The `noSandbox` flag is required in Docker containers due to security restrictions.
|
||||||
|
|
||||||
## Docs
|
## Docs
|
||||||
|
|
||||||
See **DOCS.md** for a step-by-step first-time setup guide + troubleshooting.
|
See **DOCS.md** for a step-by-step first-time setup guide + troubleshooting.
|
||||||
|
|||||||
Reference in New Issue
Block a user