Ctrl K
ComunidadGuías…

lib/playwright-worker.d.ts

Rama master · réplica de lectura del repositorio original.

Archivo original ↗Preguntar a KiBot
declare module '*assets/build/playwright-worker.mjs' {
    import type { chromium } from 'patchright';

    interface PlaywrightCore {
        getPlaywrightVersion: () => string;
        inprocess: {
            playwright: { chromium: typeof chromium };
        };
        server: {
            WebSocketTransport: {
                connect: (...args: any[]) => Promise<any>;
            };
        };
    }

    export function getPlaywrightCore(): Promise<PlaywrightCore>;
}