|  | 
|  | 1 | +--- | 
|  | 2 | +title: "Selenium 4.27 Released!" | 
|  | 3 | +linkTitle: "Selenium 4.27 Released!" | 
|  | 4 | +date: 2024-11-27 | 
|  | 5 | +tags: ["selenium"] | 
|  | 6 | +categories: ["releases"] | 
|  | 7 | +author: Diego Molina [@diemol](https://www.diemol.com) | 
|  | 8 | +images: | 
|  | 9 | +  - "/images/blog/2024/selenium_4.27.jpg" | 
|  | 10 | +description: > | 
|  | 11 | +  Today we're happy to announce that Selenium 4.27 has been released! | 
|  | 12 | +--- | 
|  | 13 | +We're very happy to announce the release of Selenium 4.27 for  | 
|  | 14 | +Javascript, Ruby, Python, .NET, Java and the Grid! | 
|  | 15 | +Links to everything can be found on our [downloads page][downloads]. | 
|  | 16 | + | 
|  | 17 | +Here is the latest iteration of the world’s most popular browser automation tool! This release  | 
|  | 18 | +brings significant updates across all supported languages, enhancing functionality, performance,  | 
|  | 19 | +and compatibility. From new features like FedCM command support in Python and improved BiDi  | 
|  | 20 | +handling in .NET to critical deprecations like CDP methods for Firefox.  | 
|  | 21 | + | 
|  | 22 | +## General Highlights | 
|  | 23 | + | 
|  | 24 | +- **Chrome DevTools support** is now: v131, v128, and v127 (Firefox still uses v85 for all versions) | 
|  | 25 | +- **Selenium has over** [5.1M active users](https://plausible.io/manager.selenium.dev) in the last 30 days. 300K more than 1 month ago! | 
|  | 26 | +- **Deprecation of CDP methods for Firefox** across several bindings to align with evolving automation standards. | 
|  | 27 | +- **Enhanced Selenium Grid** with improved session handling, distributed retry logic, and faster server shutdown processes. | 
|  | 28 | +- **Updates for .NET and Java** to modernize exception handling, improve BiDi support, and address compatibility warnings. | 
|  | 29 | +- **Deprecation of `getAttribute`** in multiple languages as part of Selenium's evolution. | 
|  | 30 | + | 
|  | 31 | + | 
|  | 32 | +<br> | 
|  | 33 | + | 
|  | 34 | +### Python | 
|  | 35 | +- Deprecated CDP methods for Firefox. ([e2e9ac5f7e](https://github.com/SeleniumHQ/selenium/commit/e2e9ac5f7e5ca2a2326bea9d16425525ce43da57)) | 
|  | 36 | +- Replaced `imghdr` with `filetype` for better compatibility. ([b1828bf108](https://github.com/SeleniumHQ/selenium/commit/b1828bf1087d7d4acfd437d83ef6168617286191)) | 
|  | 37 | +- Moved project metadata from `setup.py` to `pyproject.toml`. ([673d2c78be](https://github.com/SeleniumHQ/selenium/commit/673d2c78be76f1ccbb2e1017e5240d52f428b400)) | 
|  | 38 | +- Added FedCM command support. ([d3d8070d50](https://github.com/SeleniumHQ/selenium/commit/d3d8070d50b481d2c6da98223322bc843cc25a01)) | 
|  | 39 | +- Introduced backward compatibility for `AppiumConnection`. ([3a3c46b3c1](https://github.com/SeleniumHQ/selenium/commit/3a3c46b3c144b0a350dea3598481edd2761f11c5)) | 
|  | 40 | +- Added user agent and extra headers via `ClientConfig`. ([e2023893c7](https://github.com/SeleniumHQ/selenium/commit/e2023893c7f37f69b2f7106a3907e0275bd9fbe1)) | 
|  | 41 | +- Addressed `DetachedShadowRoot` exception handling. ([7aabb8d1b4](https://github.com/SeleniumHQ/selenium/commit/7aabb8d1b48c1cae74ae97710009daea960dc9a3)) | 
|  | 42 | +- **Deprecated `get_attribute` method** for WebElements. ([bb3053ba23](https://github.com/SeleniumHQ/selenium/commit/bb3053ba23a5798fa65fd2bb52bbb174ac0a98d2)) | 
|  | 43 | + | 
|  | 44 | +<br> | 
|  | 45 | + | 
|  | 46 | +### Ruby | 
|  | 47 | +- Deprecated CDP methods for Firefox. ([e9c09a200e](https://github.com/SeleniumHQ/selenium/commit/e9c09a200e374bba63acb0ef605175abb125e82e)) | 
|  | 48 | +- Resolved deprecation warnings for the `uri` gem. ([751bacb6bc](https://github.com/SeleniumHQ/selenium/commit/751bacb6bc934436ec9dec2416a022d8d577e30a)) | 
|  | 49 | +- Added BiDi navigation commands and support for network interception. ([573c8fe961](https://github.com/SeleniumHQ/selenium/commit/573c8fe9612c9c81406642e3e7a917cb5314eb3c)) | 
|  | 50 | + | 
|  | 51 | + | 
|  | 52 | +<br> | 
|  | 53 | + | 
|  | 54 | +### Java | 
|  | 55 | +- Enhanced error messages for `NoSuchElementException`. ([4a0d05e50e](https://github.com/SeleniumHQ/selenium/commit/4a0d05e50ea1750482211e04ece8062436eb5c6b)) | 
|  | 56 | +- Deprecated `WebElement.getAttribute()`. ([cd7303c437](https://github.com/SeleniumHQ/selenium/commit/cd7303c437b0702d3a17c9ef43594375c11016eb)) | 
|  | 57 | +- Introduced methods for selecting options containing specific text. ([b4b8aaba2b](https://github.com/SeleniumHQ/selenium/commit/b4b8aaba2bd3df57cae31164c614aec5f377c443)) | 
|  | 58 | +- Added Firefox CDP deprecation warnings. ([19fc217985](https://github.com/SeleniumHQ/selenium/commit/19fc2179855d0f70b7241a6c4cfbd9152e023609)) | 
|  | 59 | + | 
|  | 60 | +<br> | 
|  | 61 | + | 
|  | 62 | +### .NET | 
|  | 63 | +- Added CDP deprecation warnings for Firefox. ([8f725b3a80](https://github.com/SeleniumHQ/selenium/commit/8f725b3a80c3f3d621821e94a87db346ea91a8b1)) | 
|  | 64 | +- Improved BiDi and async support across modules. ([9054e892cc](https://github.com/SeleniumHQ/selenium/commit/9054e892ccabfb470243e2bad585f0474901dd31)) | 
|  | 65 | +- Enabled nullability annotations for better type safety. ([d9149acc09](https://github.com/SeleniumHQ/selenium/commit/d9149acc097531d336e611bd92d897381a0316c6)) | 
|  | 66 | +- Introduced compatibility improvements for actions with clashing device names. ([a9ec9ca682](https://github.com/SeleniumHQ/selenium/commit/a9ec9ca6821fd466e8e9d6e966d0feb150b0a5a4)) | 
|  | 67 | +- **Deprecated `GetAttribute` method** for WebElements. ([ac523a5d0a](https://github.com/SeleniumHQ/selenium/commit/ac523a5d0aa5a980a71c5adda3f4dafb0a560409)) | 
|  | 68 | + | 
|  | 69 | + | 
|  | 70 | +<br> | 
|  | 71 | + | 
|  | 72 | +### JavaScript | 
|  | 73 | +- Enabled BiDi tests for locating nodes with Chrome and Edge. ([339421538b](https://github.com/SeleniumHQ/selenium/commit/339421538b790c0ac2cf0a1a0aad62d0e76349eb)) | 
|  | 74 | +- Enhanced support for authentication handlers in BiDi commands. ([25551adfe8](https://github.com/SeleniumHQ/selenium/commit/25551adfe80f788453ec38fac7933c5369616d4f)) | 
|  | 75 | +- Updated dependencies to resolve security alerts. ([3906742748](https://github.com/SeleniumHQ/selenium/commit/3906742748d8b94b2eac074aeaf839eed20a95fa)) | 
|  | 76 | + | 
|  | 77 | +<br> | 
|  | 78 | + | 
|  | 79 | +### Rust | 
|  | 80 | +- Selenium Manager now honors full browser versions. ([fe5b1985e5](https://github.com/SeleniumHQ/selenium/commit/fe5b1985e570bae90bf757c23439d461ef0dda9c)) | 
|  | 81 | +- Updated logic to prioritize stable versions for Firefox management. ([0d2dda17b4](https://github.com/SeleniumHQ/selenium/commit/0d2dda17b4c4aba6ab0537f9d28910527c45a38b)) | 
|  | 82 | + | 
|  | 83 | +<br> | 
|  | 84 | + | 
|  | 85 | +## Selenium Grid | 
|  | 86 | +- Improved retry logic for session creation in distributed grids. ([e4ab299ea4](https://github.com/SeleniumHQ/selenium/commit/e4ab299ea | 
|  | 87 | +- Improved session handling in Selenium Grid and reduced test flakiness. ([b0464e1adf](https://github.com/SeleniumHQ/selenium/commit/b0464e1adf8b4367dab9a98c26c800a7172cc0f8)) | 
|  | 88 | +- Enhanced server shutdown for faster termination. ([62aa0e551e](https://github.com/SeleniumHQ/selenium/commit/62aa0e551e79176f21e3e1658518bc40855f81ae)) | 
|  | 89 | +- Implemented graceful handling of stale sessions and client timeouts. ([b0464e1adf](https://github.com/SeleniumHQ/selenium/commit/b0464e1adf8b4367dab9a98c26c800a7172cc0f8)) | 
|  | 90 | +- Improved detection of unsupported HTTP methods during request handling. ([f56b3d07d9](https://github.com/SeleniumHQ/selenium/commit/f56b3d07d932f81bafc80b90d9b3cb059fba133e)) | 
|  | 91 | + | 
|  | 92 | +  <br> | 
|  | 93 | + | 
|  | 94 | +### Docker Selenium | 
|  | 95 | +- Updated FFmpeg v7.1 in video recorder ([#2439](https://github.com/SeleniumHQ/docker-selenium/pull/2439)). | 
|  | 96 | +- Updated in Helm chart for Selenium Grid deployment to Kubernetes | 
|  | 97 | +  - Add GraphQL metrics exporter for monitoring ([#2425](https://github.com/SeleniumHQ/docker-selenium/pull/2425)). | 
|  | 98 | +  - Add templates for Relay node ([#2453](https://github.com/SeleniumHQ/docker-selenium/pull/2453)). | 
|  | 99 | +  - Allow to overwrite config videoRecorder in each node ([#2445](https://github.com/SeleniumHQ/docker-selenium/pull/2445)). | 
|  | 100 | + | 
|  | 101 | +  <br> | 
|  | 102 | + | 
|  | 103 | +## Contributors | 
|  | 104 | + | 
|  | 105 | +**Special shout-out to everyone who helped the Selenium Team get this release out!** | 
|  | 106 | + | 
|  | 107 | +### [Selenium](https://github.com/SeleniumHQ/selenium) | 
|  | 108 | + | 
|  | 109 | +<div class="d-flex justify-content-center"> | 
|  | 110 | +  <div class="col-11 p-4 bg-transparent"> | 
|  | 111 | +    <div class="row justify-content-center"> | 
|  | 112 | +{{< gh-user "https://api.github.com/users/Delta456" >}} | 
|  | 113 | +{{< gh-user "https://api.github.com/users/Earlopain" >}} | 
|  | 114 | +{{< gh-user "https://api.github.com/users/RenderMichael" >}} | 
|  | 115 | +{{< gh-user "https://api.github.com/users/andrew" >}} | 
|  | 116 | +{{< gh-user "https://api.github.com/users/emanlove" >}} | 
|  | 117 | +{{< gh-user "https://api.github.com/users/iampopovich" >}} | 
|  | 118 | +{{< gh-user "https://api.github.com/users/josegomezr" >}} | 
|  | 119 | +{{< gh-user "https://api.github.com/users/mk868" >}} | 
|  | 120 | +{{< gh-user "https://api.github.com/users/navin772" >}} | 
|  | 121 | +{{< gh-user "https://api.github.com/users/pnatashap" >}} | 
|  | 122 | +{{< gh-user "https://api.github.com/users/sandeepsuryaprasad" >}} | 
|  | 123 | +{{< gh-user "https://api.github.com/users/shbenzer" >}} | 
|  | 124 | +{{< gh-user "https://api.github.com/users/syber911911" >}} | 
|  | 125 | +    </div> | 
|  | 126 | +  </div> | 
|  | 127 | +</div> | 
|  | 128 | + | 
|  | 129 | + | 
|  | 130 | +### [Selenium Docs & Website](https://github.com/SeleniumHQ/seleniumhq.github.io) | 
|  | 131 | + | 
|  | 132 | +<div class="row justify-content-center"> | 
|  | 133 | +  <div class="col-11 p-4 bg-transparent"> | 
|  | 134 | +    <div class="row justify-content-center"> | 
|  | 135 | +{{< gh-user "https://api.github.com/users/AishIngale" >}} | 
|  | 136 | +{{< gh-user "https://api.github.com/users/RenderMichael" >}} | 
|  | 137 | +{{< gh-user "https://api.github.com/users/YevgeniyShunevych" >}} | 
|  | 138 | +{{< gh-user "https://api.github.com/users/alaahong" >}} | 
|  | 139 | +{{< gh-user "https://api.github.com/users/jasonren0403" >}} | 
|  | 140 | +{{< gh-user "https://api.github.com/users/navin772" >}} | 
|  | 141 | +{{< gh-user "https://api.github.com/users/pallavigitwork" >}} | 
|  | 142 | +{{< gh-user "https://api.github.com/users/shbenzer" >}} | 
|  | 143 | +{{< gh-user "https://api.github.com/users/zipperer" >}} | 
|  | 144 | +    </div> | 
|  | 145 | +  </div> | 
|  | 146 | +</div> | 
|  | 147 | + | 
|  | 148 | +### [Docker Selenium](https://github.com/SeleniumHQ/docker-selenium) | 
|  | 149 | + | 
|  | 150 | +<div class="row justify-content-center"> | 
|  | 151 | +  <div class="col-11 p-4 bg-transparent"> | 
|  | 152 | +    <div class="row justify-content-center"> | 
|  | 153 | +{{< gh-user "https://api.github.com/users/VietND96" >}} | 
|  | 154 | +    </div> | 
|  | 155 | +  </div> | 
|  | 156 | +</div> | 
|  | 157 | + | 
|  | 158 | +### [Selenium Team Members][team] | 
|  | 159 | + | 
|  | 160 | +**Thanks as well to all the team members who contributed to this release:** | 
|  | 161 | + | 
|  | 162 | +<div class="row justify-content-center"> | 
|  | 163 | +  <div class="col-11 p-4 bg-transparent"> | 
|  | 164 | +    <div class="row justify-content-center"> | 
|  | 165 | +{{< gh-user "https://api.github.com/users/aguspe" >}} | 
|  | 166 | +{{< gh-user "https://api.github.com/users/AutomatedTester" >}} | 
|  | 167 | +{{< gh-user "https://api.github.com/users/bonigarcia" >}} | 
|  | 168 | +{{< gh-user "https://api.github.com/users/diemol" >}} | 
|  | 169 | +{{< gh-user "https://api.github.com/users/harsha509" >}} | 
|  | 170 | +{{< gh-user "https://api.github.com/users/joerg1985" >}} | 
|  | 171 | +{{< gh-user "https://api.github.com/users/nvborisenko" >}} | 
|  | 172 | +{{< gh-user "https://api.github.com/users/p0deje" >}} | 
|  | 173 | +{{< gh-user "https://api.github.com/users/pujagani" >}} | 
|  | 174 | +{{< gh-user "https://api.github.com/users/shs96c" >}} | 
|  | 175 | +{{< gh-user "https://api.github.com/users/titusfortner" >}} | 
|  | 176 | +{{< gh-user "https://api.github.com/users/VietND96" >}} | 
|  | 177 | +    </div> | 
|  | 178 | +  </div> | 
|  | 179 | +</div> | 
|  | 180 | + | 
|  | 181 | + | 
|  | 182 | + | 
|  | 183 | +Stay tuned for updates by following SeleniumHQ on [X (Formerly Twitter)](https://twitter.com/seleniumhq) or [LinkedIn](https://www.linkedin.com/company/selenium/)! | 
|  | 184 | + | 
|  | 185 | +Happy automating! | 
|  | 186 | + | 
|  | 187 | +[downloads]: /downloads | 
|  | 188 | +[bindings]: /downloads#bindings | 
|  | 189 | +[team]: /project/structure | 
|  | 190 | +[BiDi]: https://github.com/w3c/webdriver-bidi | 
0 commit comments