Repository navigation
New webdriver bidi modules - #4146
captainbrosset wants to merge 43 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 8fd7e3d4-cf54-42d1-b6cd-6008085a5024
…eb-features into bidi-follow-up
| - webdriver.bidi.bluetooth.disableSimulation | ||
| - webdriver.bidi.bluetooth.simulateAdapter |
There was a problem hiding this comment.
These keys are not supported anywhere. Should we remove them from this feature so it is at least supported somewhere?
| # baseline: false | ||
| # support: | ||
| # chrome: "136" | ||
| # chrome_android: "136" | ||
| # edge: "136" | ||
| - webdriver.bidi.browsingContext.downloadWillBegin_event | ||
| - webdriver.bidi.browsingContext.downloadWillBegin_event.context_parameter | ||
| - webdriver.bidi.browsingContext.downloadWillBegin_event.navigation_parameter | ||
| - webdriver.bidi.browsingContext.downloadWillBegin_event.suggestedFilename_parameter | ||
| - webdriver.bidi.browsingContext.downloadWillBegin_event.timestamp_parameter | ||
| - webdriver.bidi.browsingContext.downloadWillBegin_event.url_parameter | ||
|
|
||
| # baseline: false | ||
| # support: | ||
| # chrome: "155" | ||
| # chrome_android: "155" | ||
| # edge: "155" | ||
| - webdriver.bidi.browsingContext.downloadWillBegin_event.userContext_parameter | ||
|
|
||
| # baseline: false | ||
| # support: | ||
| # firefox: "154" | ||
| # firefox_android: "154" | ||
| - webdriver.bidi.browsingContext.downloadEnd_event.download_parameter | ||
|
|
||
| # ⬇️ Same status as overall feature ⬇️ | ||
| # baseline: false | ||
| # support: {} | ||
| - webdriver.bidi.browsingContext.downloadWillBegin_event.download_parameter |
There was a problem hiding this comment.
These event keys are preventing Chrome+Edge+Firefox support. We should figure out if this feature makes sense as is, or should be split to better represent the core use cases and browser support story.
| # ⬇️ Same status as overall feature ⬇️ | ||
| # baseline: false | ||
| # support: | ||
| # chrome: "126" | ||
| # chrome_android: "126" | ||
| # edge: "126" | ||
| - webdriver.bidi.browsingContext.locateNodes.locator_parameter |
There was a problem hiding this comment.
Is the locator parameter fundamental to the element locators feature? Without this key, the feature would be supported in Chrome+Edge+Firefox.
| # ⬇️ Same status as overall feature ⬇️ | ||
| # baseline: false | ||
| # support: | ||
| # chrome: "137" | ||
| # chrome_android: "137" | ||
| # edge: "137" | ||
| - webdriver.bidi.emulation.setGeolocationOverride.error_parameter |
There was a problem hiding this comment.
This key is preventing this feature from being supported in Firefox. Does it belong here? Is it part of the core geolocation emulation use case?
| # baseline: false | ||
| # support: | ||
| # chrome: "133" | ||
| # chrome_android: "133" | ||
| # edge: "133" | ||
| - webdriver.bidi.network.beforeRequestSent_event.initiator_parameter | ||
| - webdriver.bidi.network.beforeRequestSent_event.request_parameter | ||
| - webdriver.bidi.network.fetchError_event.errorText_parameter | ||
| - webdriver.bidi.network.fetchError_event.request_parameter |
There was a problem hiding this comment.
This feature is very large. Up until this set of keys, the feature is supported across Chrome, Edge, and Firefox.
Starting from here, and down, only some of the browsers are supported.
We need to think about maybe splitting the feature, making sure it correctly represents the core network interception use case and browser support story.
| # ⬇️ Same status as overall feature ⬇️ | ||
| # baseline: false | ||
| # support: | ||
| # chrome: "143" | ||
| # chrome_android: "143" | ||
| # edge: "143" | ||
| - webdriver.bidi.permissions.setPermission.embeddedOrigin_parameter |
There was a problem hiding this comment.
This key is preventing this feature from being supported in Firefox. Does it belong here? Is it part of the core permissions use case?
| # baseline: false | ||
| # support: | ||
| # chrome: "140" | ||
| # chrome_android: "140" | ||
| # edge: "140" | ||
| - webdriver.bidi.emulation.setScreenOrientationOverride.contexts_parameter | ||
| - webdriver.bidi.emulation.setScreenOrientationOverride.screenOrientation_parameter | ||
| - webdriver.bidi.emulation.setScreenOrientationOverride.userContexts_parameter |
There was a problem hiding this comment.
These keys are preventing the feature from being supported in Firefox. Do they belong here? Are they part of the core screen emulation use case?
| # baseline: false | ||
| # support: | ||
| # chrome: "126" | ||
| # chrome_android: "126" | ||
| # edge: "126" | ||
| - webdriver.bidi.browsingContext.userPromptClosed_event.type_parameter.beforeunload | ||
| - webdriver.bidi.browsingContext.userPromptOpened_event.type_parameter.beforeunload |
There was a problem hiding this comment.
Is this parameter type core to the user prompts use case? It's preventing this feature from being supported in Firefox. We should decide whether it makes sense in this feature or it is a later addition that would be better represented elsewhere.
|
I cleaned up this PR. There are 28 new features here. Some features are about entire webdriver modules, others are about specfic commands, others have events in them, etc. So the granularity isn't consistent. The reason for this is that the features are based on developer use cases, which I think makes more sense than organizing per modules or commands. I left comments throughout the PR for the things I think are most important now, which is verifying that certain keys which are holding broader browser support really do belong in the corresponding features. @whimboo would you be able to take a look? |
This contains a large number of new features meant to increase our coverage of the WebDriver BiDi BCD keys.
These features seemed standalone enough to warrant their own feature files.
Some features are about entire webdriver modules, others are about specfic commands, others have events in them, etc.
So the granularity isn't consistent. The reason for this is that the features are based on developer use cases, which I think makes more sense than organizing per modules or commands.
There are a few more BCD keys to cover, but the ones here are probably enough for one PR.