BiDirectional API (W3C compliant)
Page being translated from
English to Portuguese. Do you speak Portuguese? Help us to translate
it by sending us pull requests!
This section contains the APIs related to logging.
Console logs
Listen to the console.log events and register callbacks to process the event.
Selenium v4.8
/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java
/examples/javascript/test/bidirectional/logInspector.spec.js
JavaScript exceptions
Listen to the JS Exceptions
and register callbacks to process the exception details.
/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java
/examples/javascript/test/bidirectional/logInspector.spec.js
Listen to JS Logs
Listen to all JS logs at all levels and register callbacks to process the log.
Selenium v4.8
/examples/java/src/test/java/dev/selenium/bidirectional/webdriver_bidi/LogTest.java