Skip to content

v0.0.5

Choose a tag to compare

@tungs tungs released this 19 May 23:44

Adds a package-lock.json file. Also adds more configuration options

Command Line

  • --executable-path path specifies which Chromium/Chrome executable to use
  • --no-headless runs Chromium/Chrome with a display (not headless)

node.js:

  • config.executablePath specifies which Chromium/Chrome executable to use
  • config.headless runs Chromium/Chrome in headless mode (default: true)
  • config.preparePage a function to run after a page is loaded, but before screenshots begin
  • config.preparePageForScreenshot a function to run before each screenshot