Selenium 4.35 Released!
Categories:
We’re excited to announce the release of Selenium 4.35 for Javascript, Ruby, Python, .NET, Java and the Grid! 🎉
Links to all assets can be found on our downloads page.
🔦 Highlights
- Chrome DevTools support is now: v139, v138, and v137.
- BiDi Improvements Across Bindings: Expanded BiDi support including emulation, input, script execution, and user context enhancements.
- Java Cleanup and JSpecify Annotations: Deprecated APIs removed and comprehensive
@Nullable
annotations added for better type safety. - Grid Performance Enhancements: Improved logging, reduced redundancy, race condition fixes, and migration from Guava to Caffeine.
- Better Proxy and Network Handling: Support for
SameSite=default
, IPv6 improvements, and fixes for proxy authentication and WebView2. - Logging Improvements: Driver logs in .NET are more structured and can output to console or file with timestamps.
🧪 Language-specific Updates
Java
- 🔧 Added support for:
- BiDi emulation module
SameSite=default
for cookies- Shadow DOM element normalization
- 🧹 Major cleanup of deprecated classes:
LocationContext
,WebStorage
,FirefoxBinary
,SessionStorage
,AppCacheStatus
, and more
- ✅ Enhanced test coverage:
--connect-existing
WebSocket check - 📝 Added JSpecify
@Nullable
annotations across all driver services and locator classes - 🧼 Memory/resource improvements:
- Released
HttpClient
resources - Removed unused internal classes
- Released
Python
- 🧠 BiDi enhancements:
- Implemented input and emulation modules
- Added
pin
,unpin
, andexecute
for scripts - Supported
accept_insecure_certs
,proxy
, andunhandled_prompt_behavior
in user context
- 🔧 Improved handling for:
- Proxy authentication with special characters
- WebView2 + CDP/BiDi compatibility
- Vendor prefix fix for Edge
- 📦 Loosened dependency for
urllib3
, and included IPv6 support forfree_port()
- 📚 API documentation improvements, including nightly builds and license notices
.NET
- 💡 Logging Enhancements:
- Timestamps for Chromium-based browser logs
- GeckoDriver log file support
- Default log level now
WARN
- Console output support for all drivers
- 🧠 BiDi enhancements:
- Exposed internal methods and new result types
- User context supports
UnhandledPromptBehavior
,proxy
,accept_insecure_certs
- Tree and Emulation modules added
- 🧹 Cleanup:
- Removed long-deprecated members
- Reduced internal tracing noise
- 🔄 Native packaging for Selenium Manager
- 🌐 IPv6 support for port allocation
JavaScript
- 🧪 BiDi:
- Stability fix for flaky cookie network test
- Skip FedCM tests until Chrome 140
- ⚠️ Added
SameSite=default
cookie support - 🔄 Dependency updates (
typescript
,@emotion/styled
)
Ruby
- 🔒 Guarded support for Firefox Beta
- 🚫 Removed deprecated local/session storage APIs
- 🆗 Allowed use of
rubyzip
v3 - ✂️ Excluded Rakefile from line-length linter
- ⚠️ Added support for
SameSite=default
Rust (Selenium Manager)
- 🧪 Updated base URL for Edge WebDriver
- ⬆️ Dependency upgrades (
zip
,rstest
,which
, Bazel lock files) - 🔧 Improved architecture normalization for Plausible analytics
Grid
- 🔁 Performance and logging improvements:
- Reduced duplicate logs
- Improved node health checks
- Better session map handling and retry queue management
- 🧰 Switched from Guava’s CacheBuilder to Caffeine
- 🧪 New UI sorting option by URI
🐳 Docker Selenium
- K8s: Add config for over-provision ratio in autoscaling deployment of Nodes (#2930)
- Docker: Distributor uses Greedy as the slot selector strategy default in Hub-Node and Standalone mode (#2915)
- Docker: Update Google Noto font family to support better language character displays (#2914)
- 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
Andrei Solntsev
Alex
James Hilliard
Ben Beasley
Navin Chandra
Noritaka Kobayashi
Pallavi
Sandeep Suryaprasad
Selenium Docs & Website
ian zhang
Pallavi
Docker Selenium
AvivGuiser
Amar Deep Singh
Anwar
Selenium Team Members
Thanks as well to all the team members who contributed to this release:
Agustin Pequeno
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!