/** * Playwright Executor * * Executes golden path steps using Playwright for full browser automation. * This module is optional - falls back to HTTP-based execution when Playwright * is not available. * * @module scanners/runtime/playwright-executor */ import type { GoldenPathFlow, StepResult } from "./types.js"; /** * Check if Playwright is available */ export declare function isPlaywrightAvailable(): Promise; /** * Launch browser for testing */ export declare function launchBrowser(options?: { headless?: boolean; slowMo?: number; }): Promise; /** * Close browser */ export declare function closeBrowser(): Promise; /** * Execute a step using Playwright */ export declare function executeStepWithPlaywright(step: GoldenPathFlow["steps"][0], stepIndex: number, baseUrl: string, context: { currentUrl: string; screenshotsDir?: string; }): Promise; /** * Run a complete flow with Playwright */ export declare function runFlowWithPlaywright(flow: GoldenPathFlow, baseUrl: string, options?: { headless?: boolean; slowMo?: number; screenshotsDir?: string; }): Promise<{ flowName: string; success: boolean; totalSteps: number; passedSteps: number; failedSteps: number; duration: number; steps: StepResult[]; screenshots: string[]; }>; //# sourceMappingURL=playwright-executor.d.ts.map