Hono + Workers + Browser rendering: How to screenshot a localhost path?
Hi ๐๐ผ
I'm following this example at https://developers.cloudflare.com/browser-rendering/workers-binding-api/screenshots/
How do I point puppeteer to this page for the screenshot? Is there a trick to get the "localhost" from withing the worker?
I have a worker that has a hono function returning simple HTML data, that I need to screenshot
Cloudflare Docs
Deploy a Browser Rendering Worker ยท Browser Rendering docs
By following this guide, you will create a Worker that uses the Browser Rendering API to take screenshots from web pages. This is a common use case for browser automation.
1 Reply
Solved with Claude's help: