openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
10 lines (9 loc) • 324 B
TypeScript
import type { Page } from "playwright-core";
type PageCdpSend = (method: string, params?: Record<string, unknown>) => Promise<unknown>;
export declare function withPageScopedCdpClient<T>(opts: {
cdpUrl: string;
page: Page;
targetId?: string;
fn: (send: PageCdpSend) => Promise<T>;
}): Promise<T>;
export {};