DEV Community

Discussion on: How to Capture Screenshots with Puppeteer

Collapse
 
anuraghazra profile image
Anurag Hazra

Make this into a serverless function and viola! Nice and handy API to get screenshots

Collapse
 
hasnaindev profile image
Muhammad Hasnain

Yep, like the author says, it will take time and increase cost.

Collapse
 
sagar profile image
Sagar • Edited

Yes, I built one serverless function for my website but running this function takes time so it will drastically increase the cost.

Collapse
 
hasnaindev profile image
Muhammad Hasnain • Edited

What about a 5$ digital ocean droplet? How many users can it handle (concurrently or otherwise) if you optimize it for this purpose?