Skip to main content

One doc tagged with "logging"

View all tags

How to Capture Console Logs and JavaScript Errors

A page that logs an error to the console, or throws a JavaScript error, can look fine while it is broken. With WebDriver BiDi, the test gets the console messages and the errors of the page as they happen, and can check them.