Closed mkgn closed 2 years ago
Most likely its PageError instead: https://playwright.dev/dotnet/docs/api/class-page#page-event-page-error
Labeling as triage per Max's tip above. Please let us know if that resolves your issue. If not, please share a minimal repro that exhibits the problem (and at least the JavaScript in the page you expect to be generating these messages you are listening for).
Thanks!
Closing as part of triage due to inactivity and per above tip. Please feel free to re-file and reference this issue if it's still not resolved.
In one of my test cases, I want to see whether there are any console errors are there. So in my test method I use;
In my application If I simulate an error, it doesn't get caught in the test case. Am I using this the wrong way?