Agreed. Unless it's basically free for them to have it sit idle... but if that's the case, why autom
Agreed. Unless it's basically free for them to have it sit idle... but if that's the case, why automatically turn them off after 1 minute?

/cfrole command to get the cloudflare employee role 

browser.close() linethis.browser.isConnected()), and reinstantiate it if notstate.blockConcurrencyWhile() may be the answer, but I haven't tested it yet
We’ve spoken to many customers deploying a Puppeteer service on their own infrastructure, on public cloud containers or functions or using managed services. The common theme that we’ve heard is that these services are costly – costly to maintain and expensive to run.

A browser instance gets killed if it does not get any command for 60 seconds, freeing one instance.
async scheduled(
event: ScheduledEvent,
env: Env,
ctx: ExecutionContext
): Promise<void> {
const urls = [
"https://agenty.com",
];
const browser = await puppeteer.launch(env.MYBROWSER);
await screenshot(
browser,
urls,
env
);
await browser.close();
},