DEV Community

Discussion on: 📷 How to take a screenshot of a webpage with JavaScript in Node.js (using puppeteer)

Collapse
 
benjaminmock profile image
Benjamin Mock

On the server, yes. If you want to do it on the client, you can use canvas.

Collapse
 
seanmclem profile image
Seanmclem

I've tried to do advanced rendering in the canvas before for screenshots, and while possible, server-side is so significantly easier and better.

Thread Thread
 
benjaminmock profile image
Benjamin Mock

Totally agree!