Developer Platform von Cloudflare
Browser Rendering unterstützt lokale Entwicklung
Browser Rendering lässt sich nun lokal mit npx wrangler dev ausführen, wobei ein Browser auf dem eigenen Rechner gestartet wird, sodass Tests ohne Deployment und Nutzungskosten möglich sind.
You can now run your Browser Rendering locally using npx wrangler dev, which spins up a browser directly on your machine before deploying to Cloudflare's global network. By running tests locally, you can quickly develop, debug, and test changes without needing to deploy or worry about usage costs.
Get started with this example guide that shows how to use Cloudflare's fork of Puppeteer (you can also use Playwright) to take screenshots of webpages and store the results in Workers KV.