Edge Functions

Taking Screenshots with Puppeteer


Puppeteer is a handy tool to programmatically take screenshots and generate PDFs. However, trying to do so in Edge Functions can be challenging due to the size restrictions. Luckily there is a serverless browser offering available that we can connect to via websockets.

Find the code on GitHub.