devlikeapro / waha

WAHA - WhatsApp HTTP API (REST API) that you can configure in a click!
https://waha.devlike.pro/
Apache License 2.0
820 stars 249 forks source link

[Bug] WEBJS - monitor page close event #262

Closed allburov closed 4 months ago

allburov commented 4 months ago

Right now it's not possible to get status FAILED even if browser (page) is closed. We need to make it possible by listening those events and set the status to the right state

We now have browser.disconnected and page.close events.

https://github.com/puppeteer/puppeteer/issues/952