Also, any way to track cost/sessions in beta?
Also, any way to track cost/sessions in beta?

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.
setContent and that html runs some javascript that wants to access a large local json file, can puppeteer somehow access the local filestystem of the worker? Or how would this work?<script> const json = JSON.parse(${rawJson}; ...) and then use page.setContents works, but not sure if this is a performant way to do it.browser.close()this.browser.isConnected()state.blockConcurrencyWhile()setContent<script> const json = JSON.parse(${rawJson}; ...page.setContents