Source of "websocket closed" Logs message

For Workes & Pages, what is the name of the domain?

web-data-cf-stage lytcode workers dev

What is the error message?

Protocol error (Target.activateTarget): Session closed. Most likely the page has been closed.

What is the issue or error you’re encountering

Browser Rendering worker issues “websocket closed” then errors out

What steps have you taken to resolve the issue?

I’ve googled and searched developers.cloudflare.com what can cause a browser rendering worker to log a “websocket closed” message to the console but haven’t found anything relevant. I’m trying to understand if “websocket closed” is due to the browser crashing or because page.close() is called prematurely.

What are the steps to reproduce the issue?

Running the puppeteer code on a browser rendering worker with all required environment variables, triggered by cron.

Screenshot of the error