Skip to content

v0.1.2

Choose a tag to compare

@tungs tungs released this 23 Mar 23:44

timesnap now requires Node version 8.9.0 or higher (up from version 6.4.0 or higher).

Adds more configuration options:

Command Line

  • --remote-url path
    • URL of remote Chromium/Chrome instance to connect using puppeteer.connect().
  • --screenshot-type type
    • Output image format for the screenshots. By default, the file extension is used to infer type, and failing that, png is used. jpeg is also available.
  • --screenshot-quality quality
    • Not applicable to pngs. Quality level between 0 to 1 for lossy screenshots. Defaults to 0.92 when in canvas capture mode and 0.8 otherwise.

node.js:

  • config.remoteUrl
    • URL of remote Chromium/Chrome instance to connect using puppeteer.connect().
  • config.screenshotType
    • Output image format for the screenshots. By default, the file extension is used to infer type, and failing that, png is used. jpeg is also available.
  • config.screenshotQuality
    • Not applicable to pngs. Quality level between 0 to 1 for lossy screenshots. Defaults to 0.92 when in canvas capture mode and 0.8 otherwise.