sulla
sulla copied to clipboard
feat: Capture browser error
Should we add an event listener for console errors?
https://github.com/puppeteer/puppeteer/issues/1030#issuecomment-336495331
page.on("pageerror", client.onError}
page.on("error", client.onError)
The alternative would be to expose waPage
as client parameter so users can do this their own and do more things like this