gauge-ts
Version:
Typescript runner for Gauge
10 lines (9 loc) • 493 B
TypeScript
import { type CommonAsyncFunction, type CommonFunction } from "../utils/Util";
export declare class Screenshot {
private static customScreenshotWriter;
private static customScreenGrabber;
static capture(): Promise<string>;
private static captureScreenshot;
static setCustomScreenGrabber(grabber: CommonFunction<Uint8Array> | CommonAsyncFunction<Uint8Array>): void;
static setCustomScreenshotWriter(writer: CommonFunction<string> | CommonAsyncFunction<string>): void;
}