|
| 1 | +--- |
| 2 | +title: "Selenium 4.30 Released!" |
| 3 | +linkTitle: "Selenium 4.30 Released!" |
| 4 | +date: 2025-03-21 |
| 5 | +tags: [ "selenium" ] |
| 6 | +categories: [ "releases" ] |
| 7 | +author: Diego Molina [@diemol](https://www.diemol.com) |
| 8 | +images: |
| 9 | + - "/images/blog/2025/selenium_4.30.jpg" |
| 10 | +description: > |
| 11 | + Today we're happy to announce that Selenium 4.30 has been released! |
| 12 | +--- |
| 13 | + |
| 14 | +We're very happy to announce the release of Selenium 4.30 for Javascript, Ruby, Python, .NET, Java |
| 15 | +and the Grid! |
| 16 | +This version brings key updates across the project, with improvements to the BiDi protocol, |
| 17 | +extensive nullability work in .NET, better error handling, and various bug fixes. It’s a great |
| 18 | +step forward as we continue strengthening Selenium’s stability, consistency, and support across |
| 19 | +all supported languages. |
| 20 | + |
| 21 | +Links to all assets can be found on our [downloads page][downloads]. |
| 22 | + |
| 23 | + |
| 24 | +--- |
| 25 | + |
| 26 | +## 🚀 Major Highlights |
| 27 | + |
| 28 | +- Continued enhancements to **BiDi (Bi-Directional Protocol)** support across Java, Ruby, .NET, JavaScript, and Python. |
| 29 | +- Extensive **nullability annotations** added throughout the .NET bindings. |
| 30 | +- Selenium Manager (Rust) now supports **nightly Grid builds**. |
| 31 | +- Improvements to testing infrastructure and developer experience, including better packaging, linting, and platform support. |
| 32 | +- Numerous bug fixes and refactors across the Grid, bindings, and devtools. |
| 33 | + |
| 34 | +--- |
| 35 | + |
| 36 | +## 🔹 Language-Specific Changes |
| 37 | + |
| 38 | +### **Java** |
| 39 | + |
| 40 | +- Implemented BiDi commands: `getBidiSessionStatus` and `Permissions`. |
| 41 | +- Refined logger initialization. |
| 42 | +- Removed deprecated, non-W3C compliant `NetworkConnection` interface. |
| 43 | +- Added support for setting viewport and handling CDP warnings gracefully. |
| 44 | + |
| 45 | +### **Python** |
| 46 | + |
| 47 | +- Improved devtools test handling and documentation. |
| 48 | +- Fixed packaging issues and test discovery for `pytest`. |
| 49 | +- Added docstring updates for clarity and modernization. |
| 50 | +- Replaced strings with `By` class attributes. |
| 51 | +- Improved socket resource management and error handling. |
| 52 | +- Updated `expected_conditions` type annotations. |
| 53 | + |
| 54 | +### **JavaScript** |
| 55 | + |
| 56 | +- Fixed BiDi tests for Chrome and Firefox on CI. |
| 57 | +- Implemented BiDi `permissions` module commands. |
| 58 | + |
| 59 | +### **Ruby** |
| 60 | + |
| 61 | +- Fixed a compatibility issue with Ruby 3.1 ("no anonymous block parameter"). |
| 62 | +- Added BiDi support for: |
| 63 | + - Setting viewport |
| 64 | + - Activating browser context |
| 65 | + - Providing responses |
| 66 | +- Added a `target_type` parameter to devtools. |
| 67 | + |
| 68 | +### **.NET** |
| 69 | + |
| 70 | +- Enabled **nullable reference types** across many components. |
| 71 | +- Trimmed away CDP for **AOT** applications. |
| 72 | +- Enhanced BiDi support including: |
| 73 | + - `SetFiles` command |
| 74 | + - Support for `UnhandledPromptBehavior` |
| 75 | + - Event support like `OnNavigationCommitted` |
| 76 | + - Encapsulation of the transport layer |
| 77 | +- Improved `WebDriver`, `WebElement`, and capabilities types with nullability. |
| 78 | +- Introduced `SystemClock` singleton. |
| 79 | +- Revisited and fixed test execution on Windows/macOS. |
| 80 | +- Removed obsoleted members for 4.30. |
| 81 | + |
| 82 | +### **Grid & Selenium Manager** |
| 83 | + |
| 84 | +- Added trace logging for session stop events in Grid. |
| 85 | +- Improved configuration options for server timeouts and session handling. |
| 86 | +- Added support in Selenium Manager (Rust) for **nightly Grid builds**. |
| 87 | +- Enhanced ability to trace and view live sessions. |
| 88 | + |
| 89 | +### **Docker Selenium** |
| 90 | + |
| 91 | +- Helm config: Node Relay to extend autoscaling Grid with test cloud resources ([#2703](https://github.com/SeleniumHQ/docker-selenium/pull/2703)). |
| 92 | +- Docker: Disable HeapDumpOnOutOfMemoryError by default ([#2708](https://github.com/SeleniumHQ/docker-selenium/pull/2708)) |
| 93 | +- [See all changes](https://github.com/SeleniumHQ/docker-selenium/releases) |
| 94 | + |
| 95 | + |
| 96 | +<br> |
| 97 | + |
| 98 | +We thank all our contributors for their incredible efforts in making Selenium better with every |
| 99 | +release. ❤️ |
| 100 | + |
| 101 | +For a detailed look at all changes, check out |
| 102 | +the [release notes](https://github.com/SeleniumHQ/selenium/releases/tag/4.30). |
| 103 | + |
| 104 | +<br> |
| 105 | + |
| 106 | +## Contributors |
| 107 | + |
| 108 | +**Special shout-out to everyone who helped the Selenium Team get this release out!** |
| 109 | + |
| 110 | +### [Selenium](https://github.com/SeleniumHQ/selenium) |
| 111 | + |
| 112 | +<div class="d-flex justify-content-center"> |
| 113 | + <div class="col-11 p-4 bg-transparent"> |
| 114 | + <div class="row justify-content-center"> |
| 115 | +{{< gh-user "https://api.github.com/users/Delta456" >}} |
| 116 | +{{< gh-user "https://api.github.com/users/FloKNetcare" >}} |
| 117 | +{{< gh-user "https://api.github.com/users/ahalbrock" >}} |
| 118 | +{{< gh-user "https://api.github.com/users/allrob23" >}} |
| 119 | +{{< gh-user "https://api.github.com/users/jpawlyn" >}} |
| 120 | +{{< gh-user "https://api.github.com/users/navin772" >}} |
| 121 | +{{< gh-user "https://api.github.com/users/smortex" >}} |
| 122 | +{{< gh-user "https://api.github.com/users/pallavigitwork" >}} |
| 123 | +{{< gh-user "https://api.github.com/users/ahalbrock" >}} |
| 124 | + </div> |
| 125 | + </div> |
| 126 | +</div> |
| 127 | + |
| 128 | +### [Selenium Docs & Website](https://github.com/SeleniumHQ/seleniumhq.github.io) |
| 129 | + |
| 130 | +<div class="row justify-content-center"> |
| 131 | + <div class="col-11 p-4 bg-transparent"> |
| 132 | + <div class="row justify-content-center"> |
| 133 | +{{< gh-user "https://api.github.com/users/Delta456" >}} |
| 134 | +{{< gh-user "https://api.github.com/users/WasiqB" >}} |
| 135 | +{{< gh-user "https://api.github.com/users/alaahong" >}} |
| 136 | +{{< gh-user "https://api.github.com/users/beinghumantester" >}} |
| 137 | +{{< gh-user "https://api.github.com/users/franciscotrenco" >}} |
| 138 | +{{< gh-user "https://api.github.com/users/pallavigitwork" >}} |
| 139 | + </div> |
| 140 | + </div> |
| 141 | +</div> |
| 142 | + |
| 143 | +### [Docker Selenium](https://github.com/SeleniumHQ/docker-selenium) |
| 144 | + |
| 145 | +<div class="row justify-content-center"> |
| 146 | + <div class="col-11 p-4 bg-transparent"> |
| 147 | + <div class="row justify-content-center"> |
| 148 | +{{< gh-user "https://api.github.com/users/VietND96" >}} |
| 149 | + </div> |
| 150 | + </div> |
| 151 | +</div> |
| 152 | + |
| 153 | +### [Selenium Team Members][team] |
| 154 | + |
| 155 | +**Thanks as well to all the team members who contributed to this release:** |
| 156 | + |
| 157 | +<div class="row justify-content-center"> |
| 158 | + <div class="col-11 p-4 bg-transparent"> |
| 159 | + <div class="row justify-content-center"> |
| 160 | +{{< gh-user "https://api.github.com/users/aguspe" >}} |
| 161 | +{{< gh-user "https://api.github.com/users/AutomatedTester" >}} |
| 162 | +{{< gh-user "https://api.github.com/users/bonigarcia" >}} |
| 163 | +{{< gh-user "https://api.github.com/users/cgoldberg" >}} |
| 164 | +{{< gh-user "https://api.github.com/users/diemol" >}} |
| 165 | +{{< gh-user "https://api.github.com/users/harsha509" >}} |
| 166 | +{{< gh-user "https://api.github.com/users/joerg1985" >}} |
| 167 | +{{< gh-user "https://api.github.com/users/nvborisenko" >}} |
| 168 | +{{< gh-user "https://api.github.com/users/p0deje" >}} |
| 169 | +{{< gh-user "https://api.github.com/users/pujagani" >}} |
| 170 | +{{< gh-user "https://api.github.com/users/RenderMichael" >}} |
| 171 | +{{< gh-user "https://api.github.com/users/shbenzer" >}} |
| 172 | +{{< gh-user "https://api.github.com/users/shs96c" >}} |
| 173 | +{{< gh-user "https://api.github.com/users/titusfortner" >}} |
| 174 | +{{< gh-user "https://api.github.com/users/VietND96" >}} |
| 175 | + </div> |
| 176 | + </div> |
| 177 | +</div> |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | +Stay tuned for updates by following SeleniumHQ on: |
| 182 | + |
| 183 | +- [Mastodon ](https://mastodon.social/@[email protected]) |
| 184 | +- [BlueSky](https://bsky.app/profile/seleniumconf.bsky.social) |
| 185 | +- [LinkedIn](https://www.linkedin.com/company/selenium/) |
| 186 | +- [Selenium Community YouTube Channel](https://www.youtube.com/@SeleniumHQProject/streams) |
| 187 | +- [X (Formerly Twitter)](https://twitter.com/seleniumhq) |
| 188 | + |
| 189 | +Happy automating! |
| 190 | + |
| 191 | +[downloads]: /downloads |
| 192 | + |
| 193 | +[bindings]: /downloads#bindings |
| 194 | + |
| 195 | +[team]: /project/structure |
| 196 | + |
| 197 | +[BiDi]: https://github.com/w3c/webdriver-bidi |
0 commit comments