Skip to content

Add Python tab references to BiDi W3C log docs#2643

Open
ajithrao2509 wants to merge 4 commits into
SeleniumHQ:trunkfrom
ajithrao2509:add-python-bidi-log-examples
Open

Add Python tab references to BiDi W3C log docs#2643
ajithrao2509 wants to merge 4 commits into
SeleniumHQ:trunkfrom
ajithrao2509:add-python-bidi-log-examples

Conversation

@ajithrao2509
Copy link
Copy Markdown

@ajithrao2509 ajithrao2509 commented May 17, 2026

Closes #2642

What this PR does

Adds Python tab references to the W3C BiDi Log documentation page.

Four files changed:

  • website_and_docs/content/documentation/webdriver/bidi/w3c/log.en.md
  • website_and_docs/content/documentation/webdriver/bidi/w3c/log.zh-cn.md
  • website_and_docs/content/documentation/webdriver/bidi/w3c/log.pt-br.md
  • website_and_docs/content/documentation/webdriver/bidi/w3c/log.ja.md

Motivation and Context

The W3C BiDi Log page had no Python tab in any section. Python examples
already exist in examples/python/tests/bidi/test_bidi_logging.py
this PR simply references them in the correct documentation page.

Types of changes

  • Code example added
  • Code example added to all translated languages (zh-cn, pt-br, ja updated)
  • Change to the site
  • Improved translation

Checklist

@netlify
Copy link
Copy Markdown

netlify Bot commented May 17, 2026

👷 Deploy request for selenium-dev pending review.

Visit the deploys page to approve it

Name Link
🔨 Latest commit 122fe6c

@qodo-code-review
Copy link
Copy Markdown
Contributor

Review Summary by Qodo

Add Python tab references to W3C BiDi log docs

📝 Documentation

Grey Divider

Walkthroughs

Description
• Adds Python tab references to W3C BiDi Log documentation
• References existing Python test examples for console logs
• References existing Python test examples for JS exceptions
• Adds placeholder for missing JS logs Python example
• Removes unnecessary blank lines for consistency
Diagram
flowchart LR
  A["W3C BiDi Log Documentation"] -->|"Add Python tabs"| B["Console logs section"]
  A -->|"Add Python tabs"| C["JS exceptions section"]
  A -->|"Add placeholder"| D["JS logs section"]
  B -->|"Reference"| E["test_bidi_logging.py L7-L15"]
  C -->|"Reference"| F["test_bidi_logging.py L31-L39"]
  D -->|"Placeholder"| G["badge-code"]
Loading

Grey Divider

File Changes

1. website_and_docs/content/documentation/webdriver/bidi/w3c/log.en.md 📝 Documentation +12/-11

Add Python examples to BiDi log documentation

• Adds Python tab with version badge and code reference for console logs section
• Adds Python tab with version badge and code reference for JS exceptions section
• Adds Python tab with placeholder badge for JS logs section
• Removes extra blank lines throughout the file for consistency

website_and_docs/content/documentation/webdriver/bidi/w3c/log.en.md


Grey Divider

Qodo Logo

@qodo-code-review
Copy link
Copy Markdown
Contributor

qodo-code-review Bot commented May 17, 2026

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Qodo Logo

@ajithrao2509 ajithrao2509 changed the title Add Python tab references to W3C BiDi log docs Add Python tab references to BiDi W3C log docs May 17, 2026
@rpallavisharma
Copy link
Copy Markdown
Member

@ajithrao2509 , thanks for the PR, please add for all languages, besides the english file.

@ajithrao2509
Copy link
Copy Markdown
Author

@ajithrao2509 , thanks for the PR, please add for all languages, besides the english file.

Hi @rpallavisharma, done! Added Python tabs to all translated files. zh-cn, pt-br, and ja. Let me know if anything else is needed.

@rpallavisharma
Copy link
Copy Markdown
Member

thanks @ajithrao2509 . tlc members please review @SeleniumHQ/selenium-tlc .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🚀 Feature]: Add Python examples for W3C BiDi Log commands

2 participants