-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
[docs] Selenium 5 release charter #17717
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
base: trunk
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,73 @@ | ||
| # Selenium 5 Release Charter | ||
|
|
||
| - Status: Proposed <!-- Proposed | Accepted | Released | Superseded --> | ||
| - Owner: Selenium Technical Leadership Committee (TLC) | ||
| - Discussion: <!-- link to this charter's PR --> | ||
|
|
||
| ## Purpose | ||
|
|
||
| Selenium 5 is a focused alignment release: the bindings converge on consistent behavior across | ||
| languages. It follows the project's existing deprecation policy β provide a replacement, mark the | ||
| old path deprecated, and remove it only after two releases β and is not an occasion for | ||
| gratuitous breaking changes. | ||
|
|
||
| This document is the index of the decisions that define Selenium 5. Each needs an accepted ADR to | ||
| settle its cross-binding design, then implementation in every binding β Java, JavaScript, Python, | ||
| Ruby, and .NET β with behavior consistent and implementation idiomatic per language. A decision is | ||
| marked _ADR pending_ until its record is accepted, at which point this charter is updated to link | ||
| it. An ADR does not name a milestone; this charter records what belongs to Selenium 5. | ||
|
|
||
| ## Required for release | ||
|
|
||
| ### BiDi support boundary β _ADR pending_ | ||
|
|
||
| How the WebDriver BiDi protocol is exposed to users across the bindings. The ADR sets where the | ||
| boundary sits between supported Selenium API and internal implementation, and how each binding | ||
| marks it. | ||
|
|
||
| ### Classic fallback for BiDi-backed commands β _ADR pending_ | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
The consensus at the 6/25 TLC meeting was that this probably doesn't belong as a blocker or a prerequisite for Selenium 5, and it can be part of the ADR for the Classic Migration. |
||
|
|
||
| A defined, cross-binding mechanism for running a supported command over BiDi and falling back to | ||
| Classic when BiDi or the browser does not support it. The mechanism is required; migrating every | ||
| command is not. | ||
|
|
||
| ### Network async/event API β _ADR pending_ | ||
|
|
||
| The cross-binding API for adding, removing, and clearing handlers for requests, responses, and | ||
| authentication. | ||
|
|
||
| ### Script and logging async/event API β _ADR pending_ | ||
|
|
||
| The cross-binding API for pinned scripts (pin / unpin / execute) and for console-message, | ||
| JavaScript-error, and DOM-mutation handlers. | ||
|
|
||
| ### Selenium Manager finalized API β _ADR pending_ | ||
|
|
||
| A finalized, documented API the bindings invoke, versioned independently of the client. | ||
|
|
||
|
Comment on lines
+20
to
+47
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 2. Missing bidi navigation requirement The charter's "Required for release" list omits BiDi navigation commands and pageLoadStrategy-aware waiting. This fails to reflect the compliance requirement that BiDi-based navigation be implemented across bindings with page load strategy respected. Agent Prompt
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The intent was to make this part of the ADR for "Classic fallback for BiDi-backed commands" since it is kind of an implementation detail. But agreed, especially if we are going to move that bullet to out of scope (not a requirement for Selenium 5) we need to decide separately if we want to define the mechanism for deciding BiDi vs Classic path for sessions and implement something like Navigation, which Ruby already does. |
||
| ## Out of scope | ||
|
|
||
| These are deferred, not rejected: none blocks Selenium 5. | ||
|
|
||
| ### Full classic-over-BiDi migration | ||
|
|
||
| Routing every classic command through BiDi. Selenium 5 requires the fallback mechanism, not | ||
| coverage of every command. | ||
|
|
||
| ### DevTools deprecation | ||
|
|
||
| Deprecating or removing DevTools (CDP) support. | ||
|
|
||
|
titusfortner marked this conversation as resolved.
|
||
| ### Convenience layers on the core APIs | ||
|
|
||
| Higher-level helpers built on the network and script/event primitives β for example task-oriented | ||
| network actions (`mock`, `block`, `redirect`) and one-shot event waiters (`expect_*`). | ||
|
|
||
| ### Browser context API | ||
|
|
||
| A high-level API for managing browsing contexts β for example exposing them as handle objects. | ||
|
|
||
| ### Capability mapping | ||
|
|
||
| High-level APIs over individual BiDi capability modules β permissions, storage, emulation, user | ||
| prompts. | ||
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.
This could be an implementation detail of the migration to Selenium 5 ADR.