fix: tune remote CDP timeouts

This commit is contained in:
Peter Steinberger
2026-01-16 09:01:25 +00:00
parent 1773f8aea2
commit 6e53c061ff
8 changed files with 67 additions and 5 deletions

View File

@@ -21,6 +21,10 @@ export type BrowserConfig = {
controlToken?: string;
/** Base URL of the CDP endpoint. Default: controlUrl with port + 1. */
cdpUrl?: string;
/** Remote CDP HTTP timeout (ms). Default: 1500. */
remoteCdpTimeoutMs?: number;
/** Remote CDP WebSocket handshake timeout (ms). Default: max(remoteCdpTimeoutMs * 2, 2000). */
remoteCdpHandshakeTimeoutMs?: number;
/** Accent color for the clawd browser profile (hex). Default: #FF4500 */
color?: string;
/** Override the browser executable path (all platforms). */