Selenium 4.31 Released!
Categories:
We’re excited to announce the release of Selenium 4.31 for Javascript, Ruby, Python, .NET, Java
and the Grid! 🎉
This release focuses on improvements across the board, including better BiDi protocol support, test
reliability, nullability enhancements, and cleanup of legacy code across languages.
Links to all assets can be found on our downloads page.
🚀 Major Highlights
- Continued work towards full BiDi support in all bindings
- Cleanup of unused legacy components (like
wgxpath
) - Expanded test coverage and fixes for various environments (CI, RBE, MacOS)
- Improvements in documentation and development tooling
🔹 Language-Specific Changes
Java
- Handle
getNamedCookie
anddeleteNamedCookie
for empty strings - Add nullness for AppCacheStatus, Credential, and Either
- Add nullness for interactions
- Enable Safari for CookieImplementationTest
- Add test to add a cookie in a user context (BiDi)
Python
- Fix docstring issues that sphinx complains about
- Only shutdown service if process not already terminated
- Remove unused mocker arg in chrome options test
- Fix driver class name in test fixtures
JavaScript
- Fixed BiDi tests for Chrome and Firefox on CI.
- Implemented BiDi
permissions
module commands.
Ruby
.NET
- Decouple nested BiDi types across multiple modules
- Fix null warnings in
RelativeBy
by sealing the type - Simplify conversion to
LocalValue
- Unify protected and internal Execute methods
- Make
ContinueWithAuthCommand
closer to spec (breaking change) - Avoid intermediate JsonDocument allocation to improve performance
Grid
Docker Selenium
- Helm config: Add template for file browser video records service (#2763)
- Helm config: Strictly handle
basicAuth.enabled
in template (#2760) - Selenium Grid Autoscaling in Kubernetes is expected working well with KEDA core v2.17.0.
- See all changes
We thank all our contributors for their incredible efforts in making Selenium better with every release. ❤️
For a detailed look at all changes, check out the release notes.
Contributors
Special shout-out to everyone who helped the Selenium Team get this release out!
Selenium
Swastik Baranwal
Sandro
Navin Chandra
Selenium Docs & Website
ian zhang
Pallavi
Docker Selenium
AvivGuiser
Selenium Team Members
Thanks as well to all the team members who contributed to this release:
Augustin Gottlieb
David Burns
Boni García
Corey Goldberg
Diego Molina
Sri Harsha
Nikolay Borisenko
Alex Rodionov
Puja Jagani
Michael Render
Simon Benzer
Simon Stewart
Titus Fortner
Viet Nguyen Duc
Stay tuned for updates by following SeleniumHQ on:
Happy automating!