-
- Notifications
You must be signed in to change notification settings - Fork 8.6k
[py][bidi]: use bidi navigate
command in network tests #16251
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][bidi]: use bidi navigate
command in network tests #16251
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
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. Thanks!
User description
🔗 Related Issues
💥 What does this PR do?
Fixes and enables some tests in
bidi_network_tests.py
for chrome and edge.🔧 Implementation Notes
driver.get()
(which we were doing in our tests), continue request won't work, it is working when we navigate using BiDi commands -driver.browsing_context.navigate
. At the time of network PR, we didn't have the browsing context module so it was skipped.💡 Additional Considerations
🔄 Types of changes
PR Type
Tests
Description
Fix BiDi network tests by using BiDi navigate command
Switch from httpbin to postman-echo for auth testing
Remove xfail markers for Chrome and Edge tests
Diagram Walkthrough
File Walkthrough
bidi_network_tests.py
Fix BiDi network tests navigation
py/test/selenium/webdriver/common/bidi_network_tests.py
browsing_context.navigate()