Skip to content

Latest commit

 

History

History
35 lines (28 loc) · 664 Bytes

readme.md

File metadata and controls

35 lines (28 loc) · 664 Bytes

Oppose

Oppose captures screenshots of internal website pages and compares them for differences

Capture Options

{
    environments: { live: 'http://google.com/', test: 'http://test.google.com/' },
    directory: path.join(process.cwd(), 'screenshots'),

    cluster: {
        maxConcurrency: 2,
        retryLimit: 0
    },

    browser: {
        width: 800,
        height: 600,
        deviceScaleFactor: 1,
        isMobile: false,
        hasTouch: false,
        isLandscape: false,
    },

    screenshot: {
        fullPage: true,
        type: 'png',
        // quality: 100,
        // clip: {},
        omitBackground: false,
    }
}