You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 92f5f07
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/tools/browser.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -316,6 +316,21 @@ main model can read the screenshot directly.
316
316
- Browser navigation and open-tab requests are preflight checked. During the action and bounded post-action grace, guarded Playwright interactions (click, coordinate click, hover, drag, scroll, select, press, type, form fill, and evaluate) intercept policy-denied top-level and subframe document loads before HTTP request bytes, then best-effort re-check the final `http(s)` URL.
317
317
- Before each fresh OpenClaw-managed Chrome launch, OpenClaw best-effort disables network prediction, suppressing Chromium's observed speculative preconnect for those denied loads. This is defense in depth, not a policy boundary: a browser reused across a control-service restart and other browser backends may not share the hardening. Playwright routing is still not a network firewall and does not intercept redirect hops, a popup's first request, Service Worker traffic, page code that runs after the bounded guard window, or every background/subresource path. Complete egress isolation requires owner-side isolation or a policy-enforcing proxy.
318
318
- In strict SSRF mode, remote CDP endpoint discovery and `/json/version` probes (`cdpUrl`) are checked too.
319
+
- Guarded remote CDP connections now fail closed when the selected driver cannot
320
+
keep the approved endpoint bound to the actual socket. Use the regular
321
+
`openclaw` driver for Browserless, Browserbase, Notte, or other guarded
322
+
remote CDP providers. `existing-session`/Chrome MCP profiles with an explicit
323
+
`cdpUrl` or `--browserUrl`/`--wsEndpoint` MCP argument are rejected under the
324
+
default strict Browser policy because Chrome MCP cannot carry OpenClaw's
325
+
pinned DNS lookup or guarded discovery result across its subprocess boundary.
326
+
They remain supported only when private-network Browser access is explicitly
327
+
trusted. Otherwise, omit the explicit endpoint and attach Chrome MCP to a
328
+
host-local Chrome profile, or switch the profile to the regular driver for
329
+
guarded CDP.
330
+
- Redirecting CDP discovery to a different authority remains unsupported unless
331
+
the active policy explicitly allows that authority change. Revalidating a
332
+
returned hostname is not enough; the WebSocket transport must use the endpoint
333
+
that passed policy validation.
319
334
- Gateway/provider `HTTP_PROXY`, `HTTPS_PROXY`, `ALL_PROXY`, and `NO_PROXY` environment variables do not automatically proxy the OpenClaw-managed browser. Managed Chrome launches direct by default so provider proxy settings do not weaken browser SSRF checks.
320
335
- OpenClaw-managed local CDP readiness probes and DevTools WebSocket connections bypass the managed network proxy for the exact launched loopback endpoint, so `openclaw browser start` still works when an operator proxy blocks loopback egress.
321
336
- To proxy the managed browser itself, pass explicit Chrome proxy flags through `browser.extraArgs`, such as `--proxy-server=...` or `--proxy-pac-url=...`. Strict SSRF mode blocks explicit browser proxy routing unless private-network browser access is intentionally enabled.
`Browser profile "${profile.name}" uses Chrome MCP with an explicit CDP endpoint, but the active Browser CDP policy requires OpenClaw to pin the approved endpoint. Chrome MCP cannot carry that pinned transport across its subprocess boundary. Use driver "openclaw" for guarded CDP endpoints, or remove cdpUrl and browserUrl/wsEndpoint mcpArgs from this existing-session profile so Chrome MCP attaches to a host-local Chrome profile.`,
0 commit comments