/** * Runtime execution context. * * Provides the execution environment for step handlers. */ import type { BrowserContext, Page } from "playwright"; import type { ResolvedConfig } from "../../domain/index"; export interface ExecutionContext { readonly page: Page; readonly context: BrowserContext; readonly config: ResolvedConfig; readonly env: Readonly>; readonly specPath: string; readonly timeout: number; screenshotCounter: number; } /** * Build a full URL from a path and config. */ export declare function buildUrl(path: string, baseUrl: string): string; /** * Capture a screenshot and save to the configured directory. */ export declare function captureScreenshot(ctx: ExecutionContext, description: string, isFailure?: boolean): Promise; //# sourceMappingURL=context.d.ts.map