@percy/playwright
Version:
Playwright client library for visual testing with Percy
15 lines (12 loc) • 345 B
TypeScript
import * as Playwright from 'playwright';
import { SnapshotOptions } from '@percy/core';
export default function percySnapshot(
page: Playwright.Page,
name: string,
options?: SnapshotOptions
): Promise<void>;
export default function percyScreenshot(
page: Playwright.Page,
name: string,
options?: SnapshotOptions
): Promise<void>;