How to take a screenshot of a webpage with JavaScript


Automatically creating a screenshot of a webpage used to be hard. Using puppeteer it became quite simple. Puppeteer is a headless Chrome Node.js API. So you can programmatically do everything you can do everything with it programmatically, that you manually can do with the Chrome browser. So let’s create a screenshot of my blog over at codesnacks. First, we’ll have to install...

Email Newsletter

Subscribe to receive inspiration, news, and ideas in your inbox.