Subsystem • CDP WebSocket Gateway

Full-Duplex CDP WebSocket Proxy

Stream Chrome DevTools Protocol JSON-RPC frames directly between Playwright, Puppeteer, or custom AI agents and isolated headless Chromium instances over encrypted wss://.

🔄

UTF-8 Text Frame Normalization

Chromium's native debugger socket strictly expects UTF-8 text WebSocket frames. Our gateway normalizes every client frame cleanly to prevent abrupt binary frame disconnects.

💓

30s Keepalive Heartbeat

Long-running scraping or multi-step agent sessions stay alive behind Cloudflare and Nginx proxies via automated bidirectional ping/pong heartbeats every 30 seconds.

🔐

Multi-Tenant Key & SSO Auth

Authenticate with your unified Parse Everything pe_live_... token via Authorization: Bearer, ?token= query string, or cross-subdomain dashboard SSO.

Supported WebSocket & Discovery Routes

Endpoint Protocol Purpose
/connect?token=pe_live_YOUR_API_KEY_HERE WSS / WS Auto-claims a pre-warmed Chromium instance (<100ms) and opens a duplex CDP pipe.
/cdp/:sessionId WSS / WS Attaches to a named or pre-created session owned by your Parse Everything account.
/devtools/browser/:sessionId WSS / WS Standard Chrome DevTools URL format for Puppeteer and legacy CDP tooling.
/json/version GET (HTTP) Authenticated CDP discovery metadata returning the active webSocketDebuggerUrl.