banira
    Preparing search index...

    Interface MatchScreenshotOptions

    interface MatchScreenshotOptions {
        baselineDir?: string;
        fullPage?: boolean;
        selector?: string;
        update?: boolean;
    }

    Hierarchy (View Summary)

    Index

    Properties

    baselineDir?: string

    Directory baselines live in (default __screenshots__).

    fullPage?: boolean

    Screenshot the whole page instead of a single element.

    selector?: string

    CSS selector to screenshot (defaults to the mounted tag).

    update?: boolean

    Overwrite the baseline with the current screenshot instead of comparing.