[py] Add test for Data URL in BiDi Network request handler#16281
[py] Add test for Data URL in BiDi Network request handler#16281cgoldberg merged 7 commits intoSeleniumHQ:trunkfrom
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
Thanks.. I didn't realize the exception was not on the main thread and execution continues. I just updated the test so it will fail if |
|
This sounds good. I noticed that the test is still passing but mainly due to async timing issue, the |
|
I added the |
User description
🔗 Related Issues
#16279
💥 What does this PR do?
This PR adds a new web page to the test suite that contains an image embedded as a Data URL, and a Python test that navigates to the page with a BiDi Network request handler enabled. The test is currently marked as an expected failure because it will fail in all browsers. Once browsers can handle this feature we will enable the test.
See: w3c/webdriver-bidi#727
🔄 Types of changes
PR Type
Tests
Description
Add test for BiDi Network request handler with Data URLs
Create HTML test page with embedded Data URL image
Mark test as expected failure across all browsers
Test validates Data URL handling in network requests
Diagram Walkthrough
File Walkthrough
bidi_network_tests.py
Add Data URL BiDi network testpy/test/selenium/webdriver/common/bidi_network_tests.py
pytestmodule for test markerstest_handler_with_data_url_requestdata_url.html
Create Data URL test pagecommon/src/web/data_url.html