So you don't pay for any resource used by this separate machine that actually runs puppeteer?
So you don't pay for any resource used by this separate machine that actually runs puppeteer?
Browser Rendering is now available to all customers with a paid Workers plan. Each account is limited to running two new browsers per minute and two concurrent browsers at no cost during this period.


KEEP_BROWSER_ALIVE_IN_SECONDS to something like 24h?
If users omit the browser.close() statement, it will stay open, ready to be connected to again and re-used but it will, by default, close automatically after 1 minute of inactivity. Users can optionally extend this idle time up to 10 minutes, by using the keep_alive option, set in milliseconds:


browser = await puppeteer.connect(env.MYBROWSER, sessionId); instead of pupeeteer.launch`
puppeteer.sessions(env.YourBrowserBinding) like in this example here https://developers.cloudflare.com/browser-rendering/get-started/reuse-sessions/