Add comprehensive WebDriver BiDi examples for Python, Ruby, and C##2631
Open
AutomatedTester wants to merge 3 commits intotrunkfrom
Open
Add comprehensive WebDriver BiDi examples for Python, Ruby, and C##2631AutomatedTester wants to merge 3 commits intotrunkfrom
AutomatedTester wants to merge 3 commits intotrunkfrom
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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