shrey150
75602014db
feat(browser): support direct WebSocket CDP URLs for Browserbase
...
Browserbase uses direct WebSocket connections (wss://) rather than the
standard HTTP-based /json/version CDP discovery flow used by Browserless.
This change teaches the browser tool to accept ws:// and wss:// URLs as
cdpUrl values: when a WebSocket URL is detected, OpenClaw connects
directly instead of attempting HTTP discovery.
Changes:
- config.ts: accept ws:// and wss:// in cdpUrl validation
- cdp.helpers.ts: add isWebSocketUrl() helper
- cdp.ts: skip /json/version when cdpUrl is already a WebSocket URL
- chrome.ts: probe WSS endpoints via WebSocket handshake instead of HTTP
- cdp.test.ts: add test for direct WebSocket target creation
- docs/tools/browser.md: update Browserbase section with correct URL
format and notes
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-03-08 18:48:10 +00:00
..
2026-03-02 00:49:57 -08:00
2026-03-07 10:06:35 -08:00
2026-03-01 22:44:28 +00:00
2026-02-21 19:24:42 +01:00
2026-03-02 19:57:33 +00:00
2026-03-02 16:24:26 +00:00
2026-03-02 16:02:39 +00:00
2026-03-02 16:02:39 +00:00
2026-03-08 18:48:10 +00:00
2026-03-08 18:48:10 +00:00
2026-03-08 18:48:10 +00:00
2026-02-23 18:56:14 +00:00
2026-02-22 19:08:38 +01:00
2026-02-24 04:23:22 +00:00
2026-02-22 17:54:51 +00:00
2026-02-22 18:37:25 +00:00
2026-03-03 01:15:09 +00:00
2026-03-08 18:48:10 +00:00
2026-03-03 00:15:00 +00:00
2026-03-07 21:23:06 +00:00
2026-03-07 20:45:06 +00:00
2026-03-02 18:34:37 +00:00
2026-03-08 18:48:10 +00:00
2026-03-02 18:34:37 +00:00
2026-03-05 12:53:56 -06:00
2026-03-05 12:53:56 -06:00
2026-03-05 12:53:56 -06:00
2026-03-05 12:53:56 -06:00
2026-03-05 12:53:56 -06:00
2026-03-02 22:29:04 +00:00
2026-03-05 12:53:56 -06:00
2026-02-26 22:17:58 +01:00
2026-03-02 16:06:31 +00:00
2026-03-02 16:24:26 +00:00
2026-03-03 20:29:46 -06:00
2026-03-03 00:15:00 +00:00
2026-03-01 23:25:13 +00:00
2026-03-03 00:15:00 +00:00
2026-03-01 23:50:50 -08:00
2026-02-21 21:44:50 +00:00
2026-03-02 05:33:07 +00:00
2026-02-23 05:43:43 +00:00
2026-02-22 08:40:29 +00:00
2026-02-22 08:07:41 +00:00
2026-02-22 08:05:12 +00:00
2026-03-03 00:15:00 +00:00
2026-02-21 23:58:33 +00:00
2026-03-03 20:29:46 -06:00
2026-02-19 15:19:38 +00:00
2026-03-03 00:15:00 +00:00
2026-03-03 02:53:13 +00:00
2026-02-26 00:40:56 +01:00
2026-03-03 00:15:00 +00:00
2026-03-02 06:14:52 +00:00
2026-03-02 06:14:52 +00:00
2026-03-02 06:14:52 +00:00
2026-03-02 17:12:33 +00:00
2026-03-03 20:29:46 -06:00
2026-03-02 05:20:19 +00:00
2026-02-22 11:05:26 +00:00
2026-03-02 16:02:39 +00:00
2026-02-22 17:54:51 +00:00
2026-03-02 15:43:05 +00:00
2026-03-03 00:15:00 +00:00
2026-03-01 23:50:50 -08:00
2026-02-19 15:19:38 +00:00
2026-03-02 21:31:36 +00:00
2026-03-02 21:31:36 +00:00
2026-03-02 16:02:39 +00:00
2026-03-02 21:31:36 +00:00
2026-03-03 00:15:00 +00:00
2026-03-02 16:02:39 +00:00
2026-03-02 16:02:39 +00:00
2026-03-02 16:02:39 +00:00
2026-03-03 00:15:00 +00:00
2026-03-02 21:31:36 +00:00
2026-03-02 16:02:39 +00:00
2026-02-22 08:01:15 +00:00
2026-02-26 22:17:58 +01:00
2026-02-24 04:39:53 +00:00
2026-03-02 07:13:11 +00:00
2026-02-22 17:54:51 +00:00
2026-03-02 07:13:11 +00:00
2026-02-22 17:54:51 +00:00
2026-03-01 21:40:16 +00:00
2026-03-05 16:40:52 -08:00
2026-03-05 16:40:52 -08:00
2026-02-22 10:16:19 +01:00