Where is it documented that the session shuts down automatically after 60 seconds?
Where is it documented that the session shuts down automatically after 60 seconds?
A browser instance gets killed if it does not get any command for 60 seconds, freeing one instance.


/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.

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();
},