Repository navigation
[docs] charter: list the BiDi work deferred past Selenium 5 as out of scope - #18293
titusfortner wants to merge 5 commits into
Conversation
|
/agentic_describe |
PR Summary by QodoClarify BiDi features deferred beyond Selenium 5
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
diemol
left a comment
There was a problem hiding this comment.
Thanks for this. Making the deferred work explicit is useful, and I agree with the direction.
The PR description covers more than the diff. These items are in the description tables but missing from "Out of scope":
- screencast
- web extensions
- new locators (accessibility, inner text)
- full-page and clipped screenshots
- cookies in other contexts
- network extra headers, offline, and cache behavior
- interaction readiness and settledness (#17886)
Should we add them here, or move the full roadmap to a separate doc and link it from the charter?
|
@diemol yeah, I wanted to describe how I was seeing post-Selenium 5 API for BiDi since we seem to have competing ideas of where we are going. I don't think it all needs to be in this document unless we want to expand what Selenium 5 is. We probably should create a separate roadmap for post-5. |
Co-authored-by: David Burns <david.burns@theautomatedtester.co.uk>
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
No findings to reportTip of the day💡 Did you know, you can copy the agent prompt from any finding and feed it to your IDE agent
Previous reviewsReview updated until commit 1cf9407 Results up to commit 75f6a9d
|
|
Code review by qodo was updated up to the latest commit 820ac2e |
|
Code review by qodo was updated up to the latest commit fc837a4 |
|
@titusfortner what is needed to move this one forward? |
…fix the migration wording
|
/agentic_review |
|
Code review by qodo was updated up to the latest commit 1cf9407 |
|
@diemol I made the update David requested, should be ready to approve as is. |
🔗 Related Issues
💥 What does this PR do?
🔧 Implementation Notes
Maybe it is worth having a separate road map beyond what is in this document, but this is what I'm thinking for how we approach BiDi implementations based on what we defined in #17670
Subscription Events
There are 24 events that BiDi spec defines. Either we are providing a domain off of the driver to manage these with explicit add/remove/clear methods, or we need to provide users low-level access to them.
network.beforeRequestSent,responseStarted,authRequireddriver.networklog.entryAdded,script.messagedriver.scriptbrowsingContext.userPromptOpeneddriver.alertsbrowsingContext.contextCreated,contextDestroyeddriver.windowsbrowsingContext.navigationCommitted,fragmentNavigated,historyUpdateddriver.navigate(one "navigated" handler covers all three)browsingContext.downloadEnddriver.file(download handler, fires with the file's path)browsingContext.userPromptClosed,downloadWillBegin,navigationStarted,domContentLoaded,load,navigationAborted,navigationFailednetwork.responseCompleted,fetchErrordriver.network(observe-only handlers, alongside the intercepting ones)input.fileDialogOpenedscript.realmCreated,realmDestroyedNew BiDi Features
Things BiDi can do that Classic cannot, beyond what the events above cover.
I'm looking at these as how we augment our current API with new functionality with minimal changes. In order of least change to most change required.
driver.permissions)Network)driver.file)Driver)Features Built on Pinned Scripts
We've also been discussing a number of features that aren't explicitly BiDi, but are things we can implement with JavaScript pinned to the browser.
Script)add_event_handler)Script)Script)Support ADRs
In addition to supporting new functionality, there are likely to be additional ADRs needed to clarify or support the ADRs that we've agreed are in scope for Selenium 5 (like #17786). This is likely to include a Subscription ADR, and possibly others.
🤖 AI assistance
🔄 Types of changes