UNPKG

computed-styles-regression-test

Version:

DOM & CSSOM based regression testing utility

12 lines 399 B
import type { Page } from 'playwright-core'; import { type CSSOMElementNode } from './node.js'; export interface CSSOMSnapshot { url: string; trees: CSSOMElementNode[]; } export declare const captureSnapshot: (page: Page, options?: { selector?: string; includeChildren?: boolean; includePseudoStates?: boolean; }) => Promise<CSSOMSnapshot>; //# sourceMappingURL=snapshot.d.ts.map