puppeteer but rather @cloudflare/puppeteer so a custom version.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`