diff --git a/docs/tools/browser.md b/docs/tools/browser.md index 4797bc7409b..96a7aa76fa3 100644 --- a/docs/tools/browser.md +++ b/docs/tools/browser.md @@ -191,8 +191,9 @@ Notes: ## Browserless (hosted remote CDP) [Browserless](https://browserless.io) is a hosted Chromium service that exposes -CDP endpoints over HTTPS. You can point an OpenClaw browser profile at a -Browserless region endpoint and authenticate with your API key. +remote CDP endpoints. You can point an OpenClaw browser profile at a +Browserless region endpoint and authenticate with your API key. The example +below uses Browserless's direct WebSocket endpoint. Example: @@ -205,7 +206,7 @@ Example: remoteCdpHandshakeTimeoutMs: 4000, profiles: { browserless: { - cdpUrl: "https://production-sfo.browserless.io?token=", + cdpUrl: "wss://production-sfo.browserless.io?token=", color: "#00AA00", }, }, @@ -223,10 +224,11 @@ Notes: Some hosted browser services expose a **direct WebSocket** endpoint rather than the standard HTTP-based CDP discovery (`/json/version`). OpenClaw supports both: -- **HTTP(S) endpoints** (e.g. Browserless) — OpenClaw calls `/json/version` to +- **HTTP(S) endpoints** — OpenClaw calls `/json/version` to discover the WebSocket debugger URL, then connects. - **WebSocket endpoints** (`ws://` / `wss://`) — OpenClaw connects directly, skipping `/json/version`. Use this for services like + [Browserless](https://browserless.io), [Browserbase](https://www.browserbase.com) or any provider that hands you a WebSocket URL.