UNPKG

browser-debugger-cli

Version:

DevTools telemetry in your terminal. For humans and agents. Direct WebSocket to Chrome's debugging port.

17 lines 770 B
/** * Chrome Connection Setup * * Handles Chrome launch or connection to existing Chrome instance. * Finds the appropriate CDP target for the session. */ import type { TelemetryStore } from '../../daemon/worker/TelemetryStore.js'; import type { WorkerConfig } from '../../daemon/worker/types.js'; import type { LaunchedChrome } from '../../types'; import type { Logger } from '../../ui/logging/index.js'; /** * Setup Chrome connection - either launch new instance or connect to existing. * * @returns Launched Chrome instance (null if connecting to external Chrome) */ export declare function setupChromeConnection(config: WorkerConfig, telemetryStore: TelemetryStore, log: Logger): Promise<LaunchedChrome | null>; //# sourceMappingURL=chromeConnection.d.ts.map