puppeteer-ss Proof of Concept Capture a screenshot of an HTML page using headless browser through Puppeteer Steps to recreate Prerequisites: Node.js node install node index.js You can edit the sample.html file to test your HTML and edit Viewport and browser settings in index.js