Feature and motivation
Problem
The W3C BiDi Log documentation page currently contains Java and
JavaScript examples only for Console logs and JavaScript exceptions.
Python examples are completely missing.
Note: Python examples do exist on the older BiDi logging page
(selenium.dev/documentation/webdriver/bidi/logging/) but are not
referenced on the newer W3C BiDi log page
(selenium.dev/documentation/webdriver/bidi/w3c/log/).
Proposed Solution
Add Python tabs to website_and_docs/content/documentation/webdriver/bidi/w3c/log.en.md
referencing the existing test file:
examples/python/tests/bidi/test_bidi_logging.py
No new test code needed — the Python tests already exist.
Scope
- Console logs section → test_add_console_log_handler (L7-15)
- JavaScript exceptions section → test_add_js_exception_handler (L31-39)
- Listen to JS Logs section → badge-code placeholder (no Python test exists yet)
I am happy to submit a PR for this.
Feature and motivation
Problem
The W3C BiDi Log documentation page currently contains Java and
JavaScript examples only for Console logs and JavaScript exceptions.
Python examples are completely missing.
Note: Python examples do exist on the older BiDi logging page
(selenium.dev/documentation/webdriver/bidi/logging/) but are not
referenced on the newer W3C BiDi log page
(selenium.dev/documentation/webdriver/bidi/w3c/log/).
Proposed Solution
Add Python tabs to
website_and_docs/content/documentation/webdriver/bidi/w3c/log.en.mdreferencing the existing test file:
examples/python/tests/bidi/test_bidi_logging.pyNo new test code needed — the Python tests already exist.
Scope
I am happy to submit a PR for this.