Add comprehensive WebDriver BiDi examples for Python, Ruby, and C##2631
Add comprehensive WebDriver BiDi examples for Python, Ruby, and C##2631AutomatedTester wants to merge 5 commits into
Conversation
Add new test files for Python, Ruby, and C# covering BiDi features: - BrowsingContext: Create/navigate/manage windows and tabs - Script: Execute functions, evaluate, DOM mutations - Network: Intercept requests/responses, authentication - Input: Keyboard/mouse actions, drag-drop, events - LocateNodes: Find elements by CSS/XPath/selectors This fills the gap in multi-language BiDi example coverage, enabling documentation pages to reference working examples for all supported languages. Python added: - test_bidi_browsing_context.py (8 tests) - test_bidi_script.py (7 tests) - test_bidi_network.py (5 tests) - test_bidi_input.py (8 tests) - test_bidi_locate_nodes.py (8 tests) Ruby added/expanded: - browsing_context_spec.rb (13 specs) - script_spec.rb (8 specs) - input_spec.rb (9 specs) - locate_nodes_spec.rb (8 specs) - network_spec.rb (expanded with 4 tests) C# added: - BrowsingContextTest.cs (13 tests) - ScriptTest.cs (8 tests) - InputTest.cs (7 tests) - NetworkTest.cs (7 tests) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
✅ Deploy Preview for selenium-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Python changes: - Wrapped long lines to conform to 79-character limit (E501) - Removed unused variable assignment in test_locate_nodes_by_class Ruby changes: - Fixed trailing whitespace on blank lines - Removed spaces inside hash literal braces All Python files now pass flake8 checks. All Ruby files now pass rubocop checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
- browsing_context.en.md: Replace 8 placeholder badges with Ruby/Python code references - script.en.md: Replace 6 placeholder badges with Ruby/Python code references - network.en.md: Replace 4 placeholder badges with Ruby/Python code references - input.en.md: Replace 2 placeholder badges with Ruby/Python code references This enables rendering of examples on the Netlify preview. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
3fcbd56 to
8d94a30
Compare
|
some dotnet and python tests are failing please check @AutomatedTester . |
CI Feedback 🧐A test triggered by this PR failed. Here is an AI-generated analysis of the failure:
|
2424948 to
1548863
Compare
Add new test files for Python, Ruby, and C# covering BiDi features:
This fills the gap in multi-language BiDi example coverage, enabling documentation pages to reference working examples for all supported languages.
Python added:
Ruby added/expanded:
C# added:
Thanks for contributing to the Selenium site and documentation!
A PR well described will help maintainers to review and merge it quickly
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, and help reviewers by making them as simple and short as possible.
Description
Motivation and Context
Types of changes
Checklist