|
| 1 | +--- |
| 2 | +title: "Selenium 4.34 Released!" |
| 3 | +linkTitle: "Selenium 4.34 Released!" |
| 4 | +date: 2025-06-29 |
| 5 | +tags: [ "selenium" ] |
| 6 | +categories: [ "releases" ] |
| 7 | +author: Diego Molina [@diemol](https://www.diemol.com) |
| 8 | +images: |
| 9 | + - "/images/blog/2025/selenium_4.34.jpg" |
| 10 | +description: > |
| 11 | + Today we're happy to announce that Selenium 4.34 has been released! |
| 12 | +--- |
| 13 | + |
| 14 | +We’re excited to announce the release of **Selenium 4.34** 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 | +- **macOS Improvements**: Added macOS-specific key support for both Ruby and Python. |
| 25 | +- **Web Extension Support**: BiDi implementations now support Chromium web extensions (Java, Python). |
| 26 | +- **Deprecations**: FTP proxy support deprecated across Java, Python, Ruby, and .NET. |
| 27 | +- **Selenium Manager**: Now supports Electron (Rust backend). Still needs implementation in the bindings. |
| 28 | +- **BiDi Enhancements**: Continued progress with `historyUpdated`, `permissions`, and `storage` modules (Java, .NET, Python). |
| 29 | +- **Quality Improvements**: Significant type annotation cleanup, test stability enhancements, and doc generation in Python. |
| 30 | + |
| 31 | +### Java |
| 32 | + |
| 33 | +- ✅ Implemented BiDi commands: |
| 34 | + - `browsingContext.historyUpdated` |
| 35 | + - `webExtensions` and extended `BrowsingContextInfo` |
| 36 | +- 🛠 Refactored `CommandPayload`, removed deprecated classes: |
| 37 | + - `ContextAware` |
| 38 | + - `CommandLine` |
| 39 | + - `OsProcess` |
| 40 | +- ⚠️ Deprecated `FtpProxy` |
| 41 | +- ➕ Environment variable support for driver paths with Selenium Manager |
| 42 | +- 🔐 Improvements in `VirtualAuthenticator` |
| 43 | + |
| 44 | +### Python |
| 45 | + |
| 46 | +- 🔑 Added macOS-specific keys to `Keys` enum (`OPTION`, `FN`) |
| 47 | +- 🧠 Extensive BiDi updates: |
| 48 | + - WebExtensions |
| 49 | + - Permissions |
| 50 | + - Storage |
| 51 | + - History updates (with timestamps) |
| 52 | +- 🧼 Code quality: |
| 53 | + - mypy/type hint cleanups |
| 54 | + - API docs improvements (auto-generated) |
| 55 | + - tox/ruff upgrades |
| 56 | +- 💡 `enable_webextensions()` now documented with CDP note |
| 57 | +- ❌ Deprecated: FTP proxy support |
| 58 | +- 🌐 Better error reporting on HTTP failures, improved error handling in `expected_conditions` |
| 59 | + |
| 60 | +### .NET |
| 61 | + |
| 62 | +- 🚫 Deprecated FTP proxy support |
| 63 | +- 📚 BiDi enhancements: |
| 64 | + - `OnHistoryUpdated` event |
| 65 | + - AcceptInsecureCerts & Proxy in user context |
| 66 | + - Implicit screenshot-to-bytes conversion |
| 67 | + - Protected DTOs from inheritance |
| 68 | +- 🧹 Cleanup: |
| 69 | + - Namespace simplifications |
| 70 | + - Removed StyleCop config |
| 71 | + |
| 72 | +### JavaScript |
| 73 | + |
| 74 | +- 📢 Warning added when FTP proxy is used |
| 75 | +- 💡 Declared minimum required Node.js version: `>= 20.0.0` |
| 76 | + |
| 77 | +### Grid |
| 78 | +- 🧪 Grid UI updated to Node 20 for type compatibility |
| 79 | +- 🧰 New built-in slot selector: `GreedySlotSelector` |
| 80 | +- 🧹 UI cleanup: session deletion, log level validation |
| 81 | + |
| 82 | +### Ruby |
| 83 | + |
| 84 | +- 🧑💻 Added macOS key mappings (Option/Fn) |
| 85 | +- ⚠️ Deprecated FTP proxy support |
| 86 | +- 🛠 Fixed child process termination handling |
| 87 | + |
| 88 | +### Rust (Selenium Manager) |
| 89 | + |
| 90 | +- 🖥️ Added **Electron** browser support |
| 91 | +- 🔧 Fixed Edge version test logic |
| 92 | +- Electron support. |
| 93 | + |
| 94 | +### Docker Selenium |
| 95 | + |
| 96 | +- K8s: Distributor uses Greedy as slot selector strategy in autoscaling ([#2875](https://github.com/SeleniumHQ/docker-selenium/pull/2875)) |
| 97 | +- K8s: Fix video uploader secrets pass to Node single container ([#2886](https://github.com/SeleniumHQ/docker-selenium/pull/2886)) |
| 98 | +- Docker: Update dependencies version for CVEs fix |
| 99 | +- Docker: Enable `SE_NODE_ENABLE_MANAGED_DOWNLOADS` in Node config by default ([#2869](https://github.com/SeleniumHQ/docker-selenium/pull/2869)) |
| 100 | +- Docker: Session created in Node container can be deleted on UI by default ([#2871](https://github.com/SeleniumHQ/docker-selenium/pull/2871)) |
| 101 | +- Docker: Environment variable flag to upgrade latest version of Chrome and ChromeDriver in container ([#2872](https://github.com/SeleniumHQ/docker-selenium/pull/2872)) |
| 102 | +- [See all changes](https://github.com/SeleniumHQ/docker-selenium/releases) |
| 103 | + |
| 104 | + |
| 105 | +<br> |
| 106 | + |
| 107 | +We thank all our contributors for their incredible efforts in making Selenium better with every |
| 108 | +release. ❤️ |
| 109 | + |
| 110 | +For a detailed look at all changes, check out |
| 111 | +the [release notes](https://github.com/SeleniumHQ/selenium/releases/tag/selenium-4.34.0). |
| 112 | + |
| 113 | +<br> |
| 114 | + |
| 115 | +## Contributors |
| 116 | + |
| 117 | +**Special shout-out to everyone who helped the Selenium Team get this release out!** |
| 118 | + |
| 119 | +### [Selenium](https://github.com/SeleniumHQ/selenium) |
| 120 | + |
| 121 | +<div class="d-flex justify-content-center"> |
| 122 | + <div class="col-11 p-4 bg-transparent"> |
| 123 | + <div class="row justify-content-center"> |
| 124 | +{{< gh-user "https://api.github.com/users/AB-xdev" >}} |
| 125 | +{{< gh-user "https://api.github.com/users/Bradltr95" >}} |
| 126 | +{{< gh-user "https://api.github.com/users/Delta456" >}} |
| 127 | +{{< gh-user "https://api.github.com/users/LuisOsv" >}} |
| 128 | +{{< gh-user "https://api.github.com/users/ShauryaDusht" >}} |
| 129 | +{{< gh-user "https://api.github.com/users/adolfoarmas" >}} |
| 130 | +{{< gh-user "https://api.github.com/users/asolntsev" >}} |
| 131 | +{{< gh-user "https://api.github.com/users/iampopovich" >}} |
| 132 | +{{< gh-user "https://api.github.com/users/manuelsblanco" >}} |
| 133 | +{{< gh-user "https://api.github.com/users/pallavigitwork" >}} |
| 134 | +{{< gh-user "https://api.github.com/users/sandeepsuryaprasad" >}} |
| 135 | + </div> |
| 136 | + </div> |
| 137 | +</div> |
| 138 | + |
| 139 | +### [Selenium Docs & Website](https://github.com/SeleniumHQ/seleniumhq.github.io) |
| 140 | + |
| 141 | +<div class="row justify-content-center"> |
| 142 | + <div class="col-11 p-4 bg-transparent"> |
| 143 | + <div class="row justify-content-center"> |
| 144 | +{{< gh-user "https://api.github.com/users/ShinySaana" >}} |
| 145 | +{{< gh-user "https://api.github.com/users/alaahong" >}} |
| 146 | +{{< gh-user "https://api.github.com/users/ivonnegattringer" >}} |
| 147 | +{{< gh-user "https://api.github.com/users/navin772" >}} |
| 148 | +{{< gh-user "https://api.github.com/users/noritaka1166" >}} |
| 149 | +{{< gh-user "https://api.github.com/users/pallavigitwork" >}} |
| 150 | + </div> |
| 151 | + </div> |
| 152 | +</div> |
| 153 | + |
| 154 | +### [Docker Selenium](https://github.com/SeleniumHQ/docker-selenium) |
| 155 | + |
| 156 | +<div class="row justify-content-center"> |
| 157 | + <div class="col-11 p-4 bg-transparent"> |
| 158 | + <div class="row justify-content-center"> |
| 159 | +{{< gh-user "https://api.github.com/users/KyriosGN0" >}} |
| 160 | +{{< gh-user "https://api.github.com/users/cgoldberg" >}} |
| 161 | + </div> |
| 162 | + </div> |
| 163 | +</div> |
| 164 | + |
| 165 | +### [Selenium Team Members][team] |
| 166 | + |
| 167 | +**Thanks as well to all the team members who contributed to this release:** |
| 168 | + |
| 169 | +<div class="row justify-content-center"> |
| 170 | + <div class="col-11 p-4 bg-transparent"> |
| 171 | + <div class="row justify-content-center"> |
| 172 | +{{< gh-user "https://api.github.com/users/aguspe" >}} |
| 173 | +{{< gh-user "https://api.github.com/users/AutomatedTester" >}} |
| 174 | +{{< gh-user "https://api.github.com/users/bonigarcia" >}} |
| 175 | +{{< gh-user "https://api.github.com/users/cgoldberg" >}} |
| 176 | +{{< gh-user "https://api.github.com/users/diemol" >}} |
| 177 | +{{< gh-user "https://api.github.com/users/harsha509" >}} |
| 178 | +{{< gh-user "https://api.github.com/users/joerg1985" >}} |
| 179 | +{{< gh-user "https://api.github.com/users/nvborisenko" >}} |
| 180 | +{{< gh-user "https://api.github.com/users/p0deje" >}} |
| 181 | +{{< gh-user "https://api.github.com/users/pujagani" >}} |
| 182 | +{{< gh-user "https://api.github.com/users/RenderMichael" >}} |
| 183 | +{{< gh-user "https://api.github.com/users/shbenzer" >}} |
| 184 | +{{< gh-user "https://api.github.com/users/shs96c" >}} |
| 185 | +{{< gh-user "https://api.github.com/users/titusfortner" >}} |
| 186 | +{{< gh-user "https://api.github.com/users/VietND96" >}} |
| 187 | + </div> |
| 188 | + </div> |
| 189 | +</div> |
| 190 | + |
| 191 | + |
| 192 | + |
| 193 | +Stay tuned for updates by following SeleniumHQ on: |
| 194 | + |
| 195 | +- [Mastodon ](https://mastodon.social/@[email protected]) |
| 196 | +- [BlueSky](https://bsky.app/profile/seleniumconf.bsky.social) |
| 197 | +- [LinkedIn](https://www.linkedin.com/company/selenium/) |
| 198 | +- [Selenium Community YouTube Channel](https://www.youtube.com/@SeleniumHQProject/streams) |
| 199 | +- [X (Formerly Twitter)](https://twitter.com/seleniumhq) |
| 200 | + |
| 201 | +Happy automating! |
| 202 | + |
| 203 | +[downloads]: /downloads |
| 204 | + |
| 205 | +[bindings]: /downloads#bindings |
| 206 | + |
| 207 | +[team]: /project/structure |
| 208 | + |
| 209 | +[BiDi]: https://github.com/w3c/webdriver-bidi |
0 commit comments