DEV Community

loading...

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

Collapse
seanmclem profile image
Seanmclem • Edited

How to take a screenshot with Javascript in NodeJS

Collapse
benjaminmock profile image
Benjamin Mock Author

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