|
| 1 | +--- |
| 2 | +title: "Selenium 4.36 Released!" |
| 3 | +linkTitle: "Selenium 4.36 Released!" |
| 4 | +date: 2025-09-18 |
| 5 | +tags: [ "selenium" ] |
| 6 | +categories: [ "releases" ] |
| 7 | +author: Diego Molina [@diemol](https://www.diemol.com) |
| 8 | +images: |
| 9 | + - "/images/blog/2025/selenium_4.36.jpg" |
| 10 | +description: > |
| 11 | + Today we're happy to announce that Selenium 4.36 has been released! |
| 12 | +--- |
| 13 | + |
| 14 | +We’re excited to announce the release of **Selenium 4.36** for JavaScript, Ruby, Python, .NET, Java |
| 15 | +and the Grid! 🎉 |
| 16 | + |
| 17 | +Links to all assets can be found on our [downloads page][downloads]. |
| 18 | + |
| 19 | + |
| 20 | +--- |
| 21 | + |
| 22 | +# Selenium 4.36 Released |
| 23 | + |
| 24 | +Selenium 4.36 is out with updates across all language bindings and the Grid. This release focuses |
| 25 | +on expanding BiDi capabilities, improving developer experience through logging and debugging |
| 26 | +enhancements, and cleaning up deprecated code paths. It also includes dependency updates, new |
| 27 | +tests, and stability improvements. |
| 28 | + |
| 29 | +--- |
| 30 | + |
| 31 | +## 🚩 Highlights |
| 32 | + |
| 33 | +- **Chrome DevTools support** is now: v140, v139, and v138. |
| 34 | +- **Expanded BiDi Support**: |
| 35 | + - New events and modules added across Python, Java, .NET, and Ruby (e.g. `downloadEnd`, navigation, cookies, network collectors, WebExtensions). |
| 36 | +- **Selenium Grid**: |
| 37 | + - Regression fix in request handling and better resource cleanup. |
| 38 | + - Light/Dark Mode toggle added to Grid UI. |
| 39 | +- **Developer Experience**: |
| 40 | + - Improved error messages and type annotations in Python. |
| 41 | + - Better logging options across bindings, including Chrome and Safari support. |
| 42 | + - Cleaner structure for BiDi internals in .NET. |
| 43 | + |
| 44 | +--- |
| 45 | + |
| 46 | +## 🔧 Language-specific Updates |
| 47 | + |
| 48 | +### Java |
| 49 | + |
| 50 | +- Extended BiDi support: |
| 51 | + - Added `DownloadInfo`, `onNavigationFailed`, and related test hooks. |
| 52 | +- Screenshot hooks added to `WebDriverListener`. |
| 53 | +- Unified and refactored `Select` class methods. |
| 54 | +- Fixed concurrency issue in Selenium Manager. |
| 55 | +- Improved resource handling and extended `HttpCommandExecutor` scope. |
| 56 | +- Added `@JSpecify` annotations to exception classes and drivers. |
| 57 | +- Fixed broken documentation links. |
| 58 | + |
| 59 | +### Python |
| 60 | + |
| 61 | +- BiDi: |
| 62 | + - Added support for `historyUpdated`, `navigate`, and `downloadEnd` events. |
| 63 | + - Added test for BiDi Data URL handling. |
| 64 | +- Logging: |
| 65 | + - Enabled `--enable-chrome-logs` for Chrome to inherit browser I/O streams. |
| 66 | +- Better error handling: |
| 67 | + - Clearer messages on selector issues (e.g. `InvalidSelectorException` for compound class names). |
| 68 | +- Refactors: |
| 69 | + - Converted all relative imports to absolute. |
| 70 | + - Updated example for `DesiredCapabilities` to use modern `Options`. |
| 71 | +- Fixed: |
| 72 | + - Type annotations across multiple files. |
| 73 | + - Proxy port handling in IPv6 environments. |
| 74 | +- Cleanups: |
| 75 | + - Removed unused `driver_instance` from `conftest.py`. |
| 76 | + |
| 77 | +### .NET |
| 78 | + |
| 79 | +- BiDi: |
| 80 | + - Support for `network collectors`, `response body`, and `WebExtensions`. |
| 81 | + - Improved internal type safety, serialization, and navigation tracking. |
| 82 | + - Introduced `BaseNavigationInfo` and removed obsolete logic. |
| 83 | +- Logging: |
| 84 | + - Added SafariDriver logging toggle. |
| 85 | + - Conditionally redirect browser output streams. |
| 86 | + - Suppressed unwanted messages from drivers. |
| 87 | +- Infrastructure: |
| 88 | + - Better support for older .NET Framework copying Selenium Manager. |
| 89 | + - Fixed port discovery in IPv4-only environments. |
| 90 | +- Documentation: |
| 91 | + - Fixed broken links in code and website. |
| 92 | + |
| 93 | +### Ruby |
| 94 | + |
| 95 | +- BiDi: |
| 96 | + - Implemented `browser` module with user context methods. |
| 97 | + - Support for getting client windows. |
| 98 | + - Removed Chrome FedCM test guards (now fixed in Chrome). |
| 99 | +- Other: |
| 100 | + - Updated `unhandled_prompt_behavior` to support hash syntax. |
| 101 | + - Fixed unit tests and exception doc links. |
| 102 | + |
| 103 | +### JavaScript |
| 104 | + |
| 105 | +- Updated several dependencies: |
| 106 | + - `react`, `react-router-dom`, `material-ui`, `ws`, and more. |
| 107 | +- BiDi-related fixes: |
| 108 | + - Text transformation issue in atoms corrected (`text-transform: capitalize`). |
| 109 | + |
| 110 | +### Rust (Selenium Manager) |
| 111 | + |
| 112 | +- Now honors full browser version, even when only major version is installed. |
| 113 | +- Logs browser path even in offline mode. |
| 114 | +- Updated to Rust edition 2024 and bumped dependencies (`rules_cc`, `rulest_rust`, etc.). |
| 115 | + |
| 116 | +--- |
| 117 | + |
| 118 | +## 🖥️ Selenium Grid |
| 119 | + |
| 120 | +- **Fixed regression** where requests were incorrectly rejected when nodes had capabilities but no free slots. |
| 121 | +- **Improved resource handling**: |
| 122 | + - `HttpClient` is now closed properly after session teardown. |
| 123 | + - Improved timeout handling between Router and Node. |
| 124 | +- **Updated to Netty 4.2.4** for better network handling. |
| 125 | +- **New UI Feature**: |
| 126 | + - Added Light/Dark mode toggle to Grid interface. |
| 127 | + |
| 128 | +--- |
| 129 | + |
| 130 | +## 📚 Documentation & Internal Tooling |
| 131 | + |
| 132 | +- Fixed and updated: |
| 133 | + - Broken API doc links |
| 134 | + - CONTRIBUTING.md guidelines |
| 135 | + - Linting and type annotations |
| 136 | +- Bumped: |
| 137 | + - Python dev dependencies |
| 138 | + - Setup scripts and GitHub Actions tooling |
| 139 | + |
| 140 | +--- |
| 141 | + |
| 142 | +### 🐳 Docker Selenium |
| 143 | + |
| 144 | +- K8s: Switch image registry for Bitnami deps image in sub charts ([#2960](https://github.com/SeleniumHQ/docker-selenium/pull/2960)) |
| 145 | +- Docker: Fix regression SE_NODE_STEREOTYPE_EXTRA could not merge stereotypes ([#2971](https://github.com/SeleniumHQ/docker-selenium/pull/2971)) |
| 146 | +- Update ubuntu:noble Docker digest to 728785b ([#2972](https://github.com/SeleniumHQ/docker-selenium/pull/2972)) |
| 147 | +- [See all changes](https://github.com/SeleniumHQ/docker-selenium/releases) |
| 148 | + |
| 149 | + |
| 150 | +<br> |
| 151 | + |
| 152 | +We thank all our contributors for their incredible efforts in making Selenium better with every |
| 153 | +release. ❤️ |
| 154 | + |
| 155 | +For a detailed look at all changes, check out |
| 156 | +the [release notes](https://github.com/SeleniumHQ/selenium/releases/tag/selenium-4.36.0). |
| 157 | + |
| 158 | +<br> |
| 159 | + |
| 160 | +## Contributors |
| 161 | + |
| 162 | +**Special shout-out to everyone who helped the Selenium Team get this release out!** |
| 163 | + |
| 164 | +### [Selenium](https://github.com/SeleniumHQ/selenium) |
| 165 | + |
| 166 | +<div class="d-flex justify-content-center"> |
| 167 | + <div class="col-11 p-4 bg-transparent"> |
| 168 | + <div class="row justify-content-center"> |
| 169 | +{{< gh-user "https://api.github.com/users/NoStory-py" >}} |
| 170 | +{{< gh-user "https://api.github.com/users/Osseta" >}} |
| 171 | +{{< gh-user "https://api.github.com/users/Paresh-0007" >}} |
| 172 | +{{< gh-user "https://api.github.com/users/VbhvGupta" >}} |
| 173 | +{{< gh-user "https://api.github.com/users/giulong" >}} |
| 174 | +{{< gh-user "https://api.github.com/users/iampopovich" >}} |
| 175 | +{{< gh-user "https://api.github.com/users/lauromoura" >}} |
| 176 | +{{< gh-user "https://api.github.com/users/mtrea" >}} |
| 177 | +{{< gh-user "https://api.github.com/users/rpallavisharma" >}} |
| 178 | +{{< gh-user "https://api.github.com/users/vicky-iv" >}} |
| 179 | + </div> |
| 180 | + </div> |
| 181 | +</div> |
| 182 | + |
| 183 | +### [Selenium Docs & Website](https://github.com/SeleniumHQ/seleniumhq.github.io) |
| 184 | + |
| 185 | +<div class="row justify-content-center"> |
| 186 | + <div class="col-11 p-4 bg-transparent"> |
| 187 | + <div class="row justify-content-center"> |
| 188 | +{{< gh-user "https://api.github.com/users/Anilkumar-Shrestha" >}} |
| 189 | +{{< gh-user "https://api.github.com/users/Tuscann" >}} |
| 190 | +{{< gh-user "https://api.github.com/users/beinghumantester" >}} |
| 191 | +{{< gh-user "https://api.github.com/users/noritaka1166" >}} |
| 192 | +{{< gh-user "https://api.github.com/users/olleolleolle" >}} |
| 193 | +{{< gh-user "https://api.github.com/users/rpallavisharma" >}} |
| 194 | + </div> |
| 195 | + </div> |
| 196 | +</div> |
| 197 | + |
| 198 | +### [Docker Selenium](https://github.com/SeleniumHQ/docker-selenium) |
| 199 | + |
| 200 | +<div class="row justify-content-center"> |
| 201 | + <div class="col-11 p-4 bg-transparent"> |
| 202 | + <div class="row justify-content-center"> |
| 203 | +{{< gh-user "https://api.github.com/users/anwaramoon" >}} |
| 204 | +{{< gh-user "https://api.github.com/users/f-lopes" >}} |
| 205 | +{{< gh-user "https://api.github.com/users/pplulee" >}} |
| 206 | + </div> |
| 207 | + </div> |
| 208 | +</div> |
| 209 | + |
| 210 | +### [Selenium Team Members][team] |
| 211 | + |
| 212 | +**Thanks as well to all the team members who contributed to this release:** |
| 213 | + |
| 214 | +<div class="row justify-content-center"> |
| 215 | + <div class="col-11 p-4 bg-transparent"> |
| 216 | + <div class="row justify-content-center"> |
| 217 | +{{< gh-user "https://api.github.com/users/aguspe" >}} |
| 218 | +{{< gh-user "https://api.github.com/users/asolntsev" >}} |
| 219 | +{{< gh-user "https://api.github.com/users/AutomatedTester" >}} |
| 220 | +{{< gh-user "https://api.github.com/users/bonigarcia" >}} |
| 221 | +{{< gh-user "https://api.github.com/users/cgoldberg" >}} |
| 222 | +{{< gh-user "https://api.github.com/users/diemol" >}} |
| 223 | +{{< gh-user "https://api.github.com/users/harsha509" >}} |
| 224 | +{{< gh-user "https://api.github.com/users/joerg1985" >}} |
| 225 | +{{< gh-user "https://api.github.com/users/nvborisenko" >}} |
| 226 | +{{< gh-user "https://api.github.com/users/p0deje" >}} |
| 227 | +{{< gh-user "https://api.github.com/users/pujagani" >}} |
| 228 | +{{< gh-user "https://api.github.com/users/RenderMichael" >}} |
| 229 | +{{< gh-user "https://api.github.com/users/shbenzer" >}} |
| 230 | +{{< gh-user "https://api.github.com/users/shs96c" >}} |
| 231 | +{{< gh-user "https://api.github.com/users/titusfortner" >}} |
| 232 | +{{< gh-user "https://api.github.com/users/VietND96" >}} |
| 233 | + </div> |
| 234 | + </div> |
| 235 | +</div> |
| 236 | + |
| 237 | + |
| 238 | + |
| 239 | +Stay tuned for updates by following SeleniumHQ on: |
| 240 | + |
| 241 | +- [Mastodon](https://mastodon.social/@seleniumHQ@fosstodon.org) |
| 242 | +- [BlueSky](https://bsky.app/profile/seleniumconf.bsky.social) |
| 243 | +- [LinkedIn](https://www.linkedin.com/company/selenium/) |
| 244 | +- [Selenium Community YouTube Channel](https://www.youtube.com/@SeleniumHQProject/streams) |
| 245 | +- [X (Formerly Twitter)](https://twitter.com/seleniumhq) |
| 246 | + |
| 247 | +Happy automating! |
| 248 | + |
| 249 | +[downloads]: /downloads |
| 250 | + |
| 251 | +[bindings]: /downloads#bindings |
| 252 | + |
| 253 | +[team]: /project/structure |
| 254 | + |
| 255 | +[BiDi]: https://github.com/w3c/webdriver-bidi |
0 commit comments