Selenium 4.27 Released!
Categories:
We’re very happy to announce the release of Selenium 4.27 for Javascript, Ruby, Python, .NET, Java and the Grid! Links to everything can be found on our downloads page.
Here is the latest iteration of the world’s most popular browser automation tool! This release brings significant updates across all supported languages, enhancing functionality, performance, and compatibility. From new features like FedCM command support in Python and improved BiDi handling in .NET to critical deprecations like CDP methods for Firefox.
General Highlights
- Chrome DevTools support is now: v131, v128, and v127 (Firefox still uses v85 for all versions)
- Selenium has over 5.1M active users in the last 30 days. 300K more than 1 month ago!
- Deprecation of CDP methods for Firefox across several bindings to align with evolving automation standards.
- Enhanced Selenium Grid with improved session handling, distributed retry logic, and faster server shutdown processes.
- Updates for .NET and Java to modernize exception handling, improve BiDi support, and address compatibility warnings.
- Deprecation of
getAttribute
in multiple languages as part of Selenium’s evolution.
Python
- Deprecated CDP methods for Firefox. (e2e9ac5f7e)
- Replaced
imghdr
withfiletype
for better compatibility. (b1828bf108) - Moved project metadata from
setup.py
topyproject.toml
. (673d2c78be) - Added FedCM command support. (d3d8070d50)
- Introduced backward compatibility for
AppiumConnection
. (3a3c46b3c1) - Added user agent and extra headers via
ClientConfig
. (e2023893c7) - Addressed
DetachedShadowRoot
exception handling. (7aabb8d1b4)
Ruby
- Deprecated CDP methods for Firefox. (e9c09a200e)
- Resolved deprecation warnings for the
uri
gem. (751bacb6bc) - Added BiDi navigation commands and support for network interception. (573c8fe961)
Java
- Enhanced error messages for
NoSuchElementException
. (4a0d05e50e) - Deprecated
WebElement.getAttribute()
. (cd7303c437) - Introduced methods for selecting options containing specific text. (b4b8aaba2b)
- Added Firefox CDP deprecation warnings. (19fc217985)
.NET
- Added CDP deprecation warnings for Firefox. (8f725b3a80)
- Improved BiDi and async support across modules. (9054e892cc)
- Enabled nullability annotations for better type safety. (d9149acc09)
- Introduced compatibility improvements for actions with clashing device names. (a9ec9ca682)
- Deprecated
GetAttribute
method for WebElements. (ac523a5d0a)
JavaScript
- Enabled BiDi tests for locating nodes with Chrome and Edge. (339421538b)
- Enhanced support for authentication handlers in BiDi commands. (25551adfe8)
- Updated dependencies to resolve security alerts. (3906742748)
Rust
- Selenium Manager now honors full browser versions. (fe5b1985e5)
- Updated logic to prioritize stable versions for Firefox management. (0d2dda17b4)
Selenium Grid
Improved retry logic for session creation in distributed grids. (e4ab299ea4)
Improved session handling in Selenium Grid and reduced test flakiness. (b0464e1adf)
Enhanced server shutdown for faster termination. (62aa0e551e)
Implemented graceful handling of stale sessions and client timeouts. (b0464e1adf)
Improved detection of unsupported HTTP methods during request handling. (f56b3d07d9)
Docker Selenium
K8s: Allow multiple nodes of the same type in Helm configuration (#2475)
Contributors
Special shout-out to everyone who helped the Selenium Team get this release out!
Selenium
Swastik Baranwal
Michael Render
Andrew Nesbitt
Ed Manlove
Alex
Jose D. Gomez R.
Navin Chandra
Natalia Pozhidaeva
Sandeep Suryaprasad
Simon Benzer
HeeJun
Selenium Docs & Website
Michael Render
Yevgeniy Shunevych
ian zhang
Jason Ren
Navin Chandra
Pallavi
Simon Benzer
Andrew Zipperer
Docker Selenium
Viet Nguyen Duc
Selenium Team Members
Thanks as well to all the team members who contributed to this release:
Agustin Pequeno
David Burns
Boni García
Diego Molina
Sri Harsha
Nikolay Borisenko
Alex Rodionov
Puja Jagani
Simon Stewart
Titus Fortner
Viet Nguyen Duc
Stay tuned for updates by following SeleniumHQ on X (Formerly Twitter) or LinkedIn!
Happy automating!