Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

capture unhandled exception on tested pages #226

Closed
vigneshshanmugam opened this issue Feb 23, 2021 · 1 comment · Fixed by #374
Closed

capture unhandled exception on tested pages #226

vigneshshanmugam opened this issue Feb 23, 2021 · 1 comment · Fixed by #374
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@vigneshshanmugam
Copy link
Member

vigneshshanmugam commented Feb 23, 2021

  • we only capture JS errors console error and warnings which are captured via console.error and console.warn.

  • Need to capture uncaught exceptions that gets thrown which would be useful for debugging and associate it with each steps.

We can use page.on('pageerror') events - https://playwright.dev/docs/api/class-page/#pageonpageerror

@dominiqueclarke
Copy link
Contributor

Seeing this implemented all the way through to Kibana for Synthetics agent beta.16, when tested against Kibana branch 7.16 and commit 0c347055e667851383a7415dfeaaa985bc01fe07
Screen Shot 2021-11-01 at 4 27 12 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants