|
| 1 | +--- |
| 2 | +title: "Selenium 4.35 Released!" |
| 3 | +linkTitle: "Selenium 4.35 Released!" |
| 4 | +date: 2025-08-12 |
| 5 | +tags: [ "selenium" ] |
| 6 | +categories: [ "releases" ] |
| 7 | +author: Diego Molina [@diemol](https://www.diemol.com) |
| 8 | +images: |
| 9 | + - "/images/blog/2025/selenium_4.35.jpg" |
| 10 | +description: > |
| 11 | + Today we're happy to announce that Selenium 4.35 has been released! |
| 12 | +--- |
| 13 | + |
| 14 | +We’re excited to announce the release of **Selenium 4.35** 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 | +## 🔦 Highlights |
| 23 | + |
| 24 | +- **Chrome DevTools support** is now: v139, v138, and v137. |
| 25 | +- **BiDi Improvements Across Bindings**: Expanded BiDi support including emulation, input, script execution, and user context enhancements. |
| 26 | +- **Java Cleanup and JSpecify Annotations**: Deprecated APIs removed and comprehensive `@Nullable` annotations added for better type safety. |
| 27 | +- **Grid Performance Enhancements**: Improved logging, reduced redundancy, race condition fixes, and migration from Guava to Caffeine. |
| 28 | +- **Better Proxy and Network Handling**: Support for `SameSite=default`, IPv6 improvements, and fixes for proxy authentication and WebView2. |
| 29 | +- **Logging Improvements**: Driver logs in .NET are more structured and can output to console or file with timestamps. |
| 30 | + |
| 31 | +--- |
| 32 | + |
| 33 | +## 🧪 Language-specific Updates |
| 34 | + |
| 35 | +### Java |
| 36 | + |
| 37 | +- 🔧 Added support for: |
| 38 | + - BiDi emulation module |
| 39 | + - `SameSite=default` for cookies |
| 40 | + - Shadow DOM element normalization |
| 41 | +- 🧹 Major cleanup of deprecated classes: |
| 42 | + - `LocationContext`, `WebStorage`, `FirefoxBinary`, `SessionStorage`, `AppCacheStatus`, and more |
| 43 | +- ✅ Enhanced test coverage: `--connect-existing` WebSocket check |
| 44 | +- 📝 Added JSpecify `@Nullable` annotations across all driver services and locator classes |
| 45 | +- 🧼 Memory/resource improvements: |
| 46 | + - Released `HttpClient` resources |
| 47 | + - Removed unused internal classes |
| 48 | + |
| 49 | +### Python |
| 50 | + |
| 51 | +- 🧠 BiDi enhancements: |
| 52 | + - Implemented input and emulation modules |
| 53 | + - Added `pin`, `unpin`, and `execute` for scripts |
| 54 | + - Supported `accept_insecure_certs`, `proxy`, and `unhandled_prompt_behavior` in user context |
| 55 | +- 🔧 Improved handling for: |
| 56 | + - Proxy authentication with special characters |
| 57 | + - WebView2 + CDP/BiDi compatibility |
| 58 | + - Vendor prefix fix for Edge |
| 59 | +- 📦 Loosened dependency for `urllib3`, and included IPv6 support for `free_port()` |
| 60 | +- 📚 API documentation improvements, including nightly builds and license notices |
| 61 | + |
| 62 | +### .NET |
| 63 | + |
| 64 | +- 💡 Logging Enhancements: |
| 65 | + - Timestamps for Chromium-based browser logs |
| 66 | + - GeckoDriver log file support |
| 67 | + - Default log level now `WARN` |
| 68 | + - Console output support for all drivers |
| 69 | +- 🧠 BiDi enhancements: |
| 70 | + - Exposed internal methods and new result types |
| 71 | + - User context supports `UnhandledPromptBehavior`, `proxy`, `accept_insecure_certs` |
| 72 | + - Tree and Emulation modules added |
| 73 | +- 🧹 Cleanup: |
| 74 | + - Removed long-deprecated members |
| 75 | + - Reduced internal tracing noise |
| 76 | +- 🔄 Native packaging for Selenium Manager |
| 77 | +- 🌐 IPv6 support for port allocation |
| 78 | + |
| 79 | +### JavaScript |
| 80 | + |
| 81 | +- 🧪 BiDi: |
| 82 | + - Stability fix for flaky cookie network test |
| 83 | + - Skip FedCM tests until Chrome 140 |
| 84 | +- ⚠️ Added `SameSite=default` cookie support |
| 85 | +- 🔄 Dependency updates (`typescript`, `@emotion/styled`) |
| 86 | + |
| 87 | +### Ruby |
| 88 | + |
| 89 | +- 🔒 Guarded support for Firefox Beta |
| 90 | +- 🚫 Removed deprecated local/session storage APIs |
| 91 | +- 🆗 Allowed use of `rubyzip` v3 |
| 92 | +- ✂️ Excluded Rakefile from line-length linter |
| 93 | +- ⚠️ Added support for `SameSite=default` |
| 94 | + |
| 95 | +### Rust (Selenium Manager) |
| 96 | + |
| 97 | +- 🧪 Updated base URL for Edge WebDriver |
| 98 | +- ⬆️ Dependency upgrades (`zip`, `rstest`, `which`, Bazel lock files) |
| 99 | +- 🔧 Improved architecture normalization for Plausible analytics |
| 100 | + |
| 101 | +### Grid |
| 102 | + |
| 103 | +- 🔁 Performance and logging improvements: |
| 104 | + - Reduced duplicate logs |
| 105 | + - Improved node health checks |
| 106 | + - Better session map handling and retry queue management |
| 107 | +- 🧰 Switched from Guava’s CacheBuilder to Caffeine |
| 108 | +- 🧪 New UI sorting option by URI |
| 109 | + |
| 110 | + |
| 111 | +### 🐳 Docker Selenium |
| 112 | + |
| 113 | +- K8s: Add config for over-provision ratio in autoscaling deployment of Nodes ([#2930](https://github.com/SeleniumHQ/docker-selenium/pull/2930)) |
| 114 | +- Docker: Distributor uses Greedy as the slot selector strategy default in Hub-Node and Standalone mode ([#2915](https://github.com/SeleniumHQ/docker-selenium/pull/2915)) |
| 115 | +- Docker: Update Google Noto font family to support better language character displays ([#2914](https://github.com/SeleniumHQ/docker-selenium/pull/2914)) |
| 116 | +- [See all changes](https://github.com/SeleniumHQ/docker-selenium/releases) |
| 117 | + |
| 118 | + |
| 119 | +<br> |
| 120 | + |
| 121 | +We thank all our contributors for their incredible efforts in making Selenium better with every |
| 122 | +release. ❤️ |
| 123 | + |
| 124 | +For a detailed look at all changes, check out |
| 125 | +the [release notes](https://github.com/SeleniumHQ/selenium/releases/tag/selenium-4.35.0). |
| 126 | + |
| 127 | +<br> |
| 128 | + |
| 129 | +## Contributors |
| 130 | + |
| 131 | +**Special shout-out to everyone who helped the Selenium Team get this release out!** |
| 132 | + |
| 133 | +### [Selenium](https://github.com/SeleniumHQ/selenium) |
| 134 | + |
| 135 | +<div class="d-flex justify-content-center"> |
| 136 | + <div class="col-11 p-4 bg-transparent"> |
| 137 | + <div class="row justify-content-center"> |
| 138 | +{{< gh-user "https://api.github.com/users/Earlopain" >}} |
| 139 | +{{< gh-user "https://api.github.com/users/asolntsev" >}} |
| 140 | +{{< gh-user "https://api.github.com/users/iampopovich" >}} |
| 141 | +{{< gh-user "https://api.github.com/users/jameshilliard" >}} |
| 142 | +{{< gh-user "https://api.github.com/users/mk868" >}} |
| 143 | +{{< gh-user "https://api.github.com/users/musicinmybrain" >}} |
| 144 | +{{< gh-user "https://api.github.com/users/navin772" >}} |
| 145 | +{{< gh-user "https://api.github.com/users/noritaka1166" >}} |
| 146 | +{{< gh-user "https://api.github.com/users/nxs7" >}} |
| 147 | +{{< gh-user "https://api.github.com/users/pallavigitwork" >}} |
| 148 | +{{< gh-user "https://api.github.com/users/sandeepsuryaprasad" >}} |
| 149 | + </div> |
| 150 | + </div> |
| 151 | +</div> |
| 152 | + |
| 153 | +### [Selenium Docs & Website](https://github.com/SeleniumHQ/seleniumhq.github.io) |
| 154 | + |
| 155 | +<div class="row justify-content-center"> |
| 156 | + <div class="col-11 p-4 bg-transparent"> |
| 157 | + <div class="row justify-content-center"> |
| 158 | +{{< gh-user "https://api.github.com/users/alaahong" >}} |
| 159 | +{{< gh-user "https://api.github.com/users/pallavigitwork" >}} |
| 160 | + </div> |
| 161 | + </div> |
| 162 | +</div> |
| 163 | + |
| 164 | +### [Docker Selenium](https://github.com/SeleniumHQ/docker-selenium) |
| 165 | + |
| 166 | +<div class="row 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/KyriosGN0" >}} |
| 170 | +{{< gh-user "https://api.github.com/users/amardeep2006" >}} |
| 171 | +{{< gh-user "https://api.github.com/users/anwaramoon" >}} |
| 172 | + </div> |
| 173 | + </div> |
| 174 | +</div> |
| 175 | + |
| 176 | +### [Selenium Team Members][team] |
| 177 | + |
| 178 | +**Thanks as well to all the team members who contributed to this release:** |
| 179 | + |
| 180 | +<div class="row justify-content-center"> |
| 181 | + <div class="col-11 p-4 bg-transparent"> |
| 182 | + <div class="row justify-content-center"> |
| 183 | +{{< gh-user "https://api.github.com/users/aguspe" >}} |
| 184 | +{{< gh-user "https://api.github.com/users/AutomatedTester" >}} |
| 185 | +{{< gh-user "https://api.github.com/users/bonigarcia" >}} |
| 186 | +{{< gh-user "https://api.github.com/users/cgoldberg" >}} |
| 187 | +{{< gh-user "https://api.github.com/users/diemol" >}} |
| 188 | +{{< gh-user "https://api.github.com/users/harsha509" >}} |
| 189 | +{{< gh-user "https://api.github.com/users/joerg1985" >}} |
| 190 | +{{< gh-user "https://api.github.com/users/nvborisenko" >}} |
| 191 | +{{< gh-user "https://api.github.com/users/p0deje" >}} |
| 192 | +{{< gh-user "https://api.github.com/users/pujagani" >}} |
| 193 | +{{< gh-user "https://api.github.com/users/RenderMichael" >}} |
| 194 | +{{< gh-user "https://api.github.com/users/shbenzer" >}} |
| 195 | +{{< gh-user "https://api.github.com/users/shs96c" >}} |
| 196 | +{{< gh-user "https://api.github.com/users/titusfortner" >}} |
| 197 | +{{< gh-user "https://api.github.com/users/VietND96" >}} |
| 198 | + </div> |
| 199 | + </div> |
| 200 | +</div> |
| 201 | + |
| 202 | + |
| 203 | + |
| 204 | +Stay tuned for updates by following SeleniumHQ on: |
| 205 | + |
| 206 | +- [Mastodon](https://mastodon.social/@seleniumHQ@fosstodon.org) |
| 207 | +- [BlueSky](https://bsky.app/profile/seleniumconf.bsky.social) |
| 208 | +- [LinkedIn](https://www.linkedin.com/company/selenium/) |
| 209 | +- [Selenium Community YouTube Channel](https://www.youtube.com/@SeleniumHQProject/streams) |
| 210 | +- [X (Formerly Twitter)](https://twitter.com/seleniumhq) |
| 211 | + |
| 212 | +Happy automating! |
| 213 | + |
| 214 | +[downloads]: /downloads |
| 215 | + |
| 216 | +[bindings]: /downloads#bindings |
| 217 | + |
| 218 | +[team]: /project/structure |
| 219 | + |
| 220 | +[BiDi]: https://github.com/w3c/webdriver-bidi |
0 commit comments