How to capture page screenshot with Puppeteer and Express JS
Today I had to build a simple API route to capture web page screenshot. Given that I am mostly working with Node.js these days, the natural choice was to create an API route using Express.js and use Puppeteer to capture screenshot. This API route expects three parameters; url…