This is a small Node program that takes website screenshots via Puppeteer.
Use it like this:
node screenshot.ts 'http://example.org'You can also tell it to click on things to set up your shots:
node screenshot.ts 'http://example.org' 'click:#login'If there are certain elements gunking up your screenshots, you can remove them:
node screenshot.ts 'http://example.org' 'remove:.modal'