docs(browser): clarify Browserless websocket docs

This commit is contained in:
ShionElia 2026-03-21 05:41:34 +00:00
parent 8515c8854b
commit dc72def0bd

View File

@ -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:
@ -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.