import { Page } from '@playwright/test'; import { RunnerOptions } from './runner-options'; export declare abstract class Runner { protected _options: object; protected _running: boolean; protected _page: Page | undefined; protected readonly _profile: string; protected readonly _customFolder: string; protected readonly _testOutput: string; protected _videoAndTraceName: string | undefined; protected _runnerOptions: RunnerOptions; protected _saveTracesOnPass: boolean; protected _saveVideosOnPass: boolean; protected _consoleMessages: string[]; protected constructor(options?: { runnerOptions?: RunnerOptions; }); abstract start(): Promise; abstract close(timeout?: number): Promise; protected abstract defaultOptions(): object; /** * Get all pages (windows) from the application. * Returns all windows including webviews. */ abstract getWindows(): Page[]; getPage(): Page; getConsoleMessages(): string[]; protected pushConsoleMessage(text: string): void; get options(): object; setOptions(value: object): void; isRunning(): boolean; protected setupPodmanDesktopCustomFolder(): object; stopTracing(): Promise; saveVideoAs(path: string): Promise; startTracing(): Promise; removeTracesOnFinished(): Promise; protected raceWithTimeout(promise: Promise, ms: number, message: string): Promise; protected trackTime(fn: () => Promise): Promise; setVideoAndTraceName(name: string): void; getVideoAndTraceName(): string; getTestOutput(): string; screenshot(filename: string): Promise; }