-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[py] Add test for BiDi request handlers with classic navigation #16421
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[py] Add test for BiDi request handlers with classic navigation #16421
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Though, the test needs to be fixed so CI passes
User description
💥 What does this PR do?
This PR adds a test for using BiDi request handlers when using classic navigation. This is currently broken in Chrome and Edge, but works in Firefox.
🔧 Implementation Notes
I wanted to mark is as
xfail_chrome
/xfail_edge
, but the test hangs for several minutes when you attempt to run it with those browsers, so I just explicitly skip it inside the test.💡 Additional Considerations
Once Chrome/Edge fixes this, we should stop skipping this test.
🔄 Types of changes
PR Type
Tests
Description
Add test verifying BiDi request handlers work with classic navigation
Skip test for Chrome and Edge due to known browser limitations
Test passes in Firefox, demonstrating expected behavior
Diagram Walkthrough
File Walkthrough
bidi_network_tests.py
Add BiDi request handler test for classic navigation
py/test/selenium/webdriver/common/bidi_network_tests.py
test_handler_with_classic_navigation
to verify BiDirequest handlers work with classic navigation
feature is not yet supported