Skip to content

Latest commit

 

History

History
69 lines (64 loc) · 1.52 KB

test.js.md

File metadata and controls

69 lines (64 loc) · 1.52 KB

Snapshot report for test.js

The actual snapshot is saved in test.js.snap.

Generated by AVA.

check flags

Snapshot 1

{
  authentication: {
    password: 'password',
    username: 'username',
  },
  clickElement: 'button',
  cookies: [
    'id=unicorn; Expires=Wed, 21 Oct 2018 07:28:00 GMT;',
  ],
  darkMode: true,
  debug: false,
  defaultBackground: false,
  delay: 10,
  disableAnimations: true,
  element: '.main-content',
  emulateDevice: 'iPhone X',
  fullPage: false,
  header: 'x-powered-by: capture-website-cli',
  headers: {
    'x-powered-by': 'capture-website-cli',
  },
  height: 600,
  hideElements: [
    '.sidebar',
  ],
  inset: {
    bottom: -15,
    left: 25,
    right: -15,
    top: 10,
  },
  internalPrintFlags: true,
  isJavaScriptEnabled: false,
  javascript: false,
  launchOptions: {
    headless: false,
  },
  listDevices: false,
  modules: [
    'https://sindresorhus.com/remote-file.js',
    'local-file.js',
    'document.body.style.backgroundColor = \'red\'',
  ],
  output: 'screenshot.png',
  overwrite: false,
  quality: 0.5,
  removeElements: [
    'img.ad',
  ],
  scaleFactor: 3,
  scripts: [],
  scrollToElement: '#map',
  styles: [],
  timeout: 80,
  type: 'jpeg.',
  userAgent: 'I love unicorns',
  waitForElement: '#header',
  width: 1000,
}