puppeteer-screenshot.d.ts 400 B

1234
  1. import type { E2EProcessEnv, ScreenshotDiff, ScreenshotOptions } from '@stencil/core/internal';
  2. import type * as pd from './puppeteer-declarations';
  3. export declare function initPageScreenshot(page: pd.E2EPageInternal): void;
  4. export declare function pageCompareScreenshot(page: pd.E2EPageInternal, env: E2EProcessEnv, desc: string, testPath: string, opts: ScreenshotOptions): Promise<ScreenshotDiff>;