|
| 1 | +--- |
| 2 | +title: "Selenium 4.38 Released!" |
| 3 | +linkTitle: "Selenium 4.38 Released!" |
| 4 | +date: 2025-10-24 |
| 5 | +tags: [ "selenium" ] |
| 6 | +categories: [ "releases" ] |
| 7 | +author: Diego Molina [@diemol](https://www.diemol.com) |
| 8 | +images: |
| 9 | + - "/images/blog/2025/selenium_4.38.jpg" |
| 10 | +description: > |
| 11 | + Today we're happy to announce that Selenium 4.38 has been released! |
| 12 | +--- |
| 13 | + |
| 14 | +We’re excited to announce the release of **Selenium 4.38** 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.38 Released |
| 23 | + |
| 24 | +Selenium 4.38 is a maintenance-focused release with improvements in code quality, documentation |
| 25 | +formatting, and test infrastructure. The update includes ongoing work on BiDi features, cleanup of |
| 26 | +deprecated code, and expansion of JSpecify annotations for better type safety in Java. |
| 27 | + |
| 28 | +--- |
| 29 | + |
| 30 | +## Highlights |
| 31 | + |
| 32 | +- **Chrome DevTools support** is now: v142, v141, and v140. |
| 33 | +- **Java JSpecify Coverage Expanded**: Dozens of additional classes annotated to improve null-safety and developer experience. |
| 34 | +- **Python Docstring and BiDi Work**: Switched to Google-style docstrings and added support for `set_timezone_override` in BiDi emulation. |
| 35 | +- **Ruby Cleanup**: Deprecated logging classes removed and RSpec linting applied. |
| 36 | +- **Infrastructure & Docs**: Test workflows cleaned up, doc update jobs fixed, and Travis cruft removed from builds. |
| 37 | + |
| 38 | +--- |
| 39 | + |
| 40 | +## Language-specific Changes |
| 41 | + |
| 42 | +### Java |
| 43 | + |
| 44 | +- JSpecify annotations added for: |
| 45 | + - `ExecuteMethod` |
| 46 | + - `org.openqa.selenium.federatedcredential` |
| 47 | + - `org.openqa.selenium.interactions` |
| 48 | + - `org.openqa.selenium.net` |
| 49 | + - `Credential`, `MBean` |
| 50 | + - `ScriptKey`, `UnpinnedScriptKey` |
| 51 | + - `FileDetector` |
| 52 | + - `ExpectedCondition` |
| 53 | + - `Response`, `SessionId`, `HttpSessionId` |
| 54 | +- BiDi: |
| 55 | + - New test added for the `onHistoryUpdated` event. |
| 56 | + |
| 57 | +--- |
| 58 | + |
| 59 | +### Python |
| 60 | + |
| 61 | +- BiDi: |
| 62 | + - Added `set_timezone_override` command under emulation. |
| 63 | +- Documentation: |
| 64 | + - Converted more docstrings to Google style. |
| 65 | + - Removed use of `:param:` and `:args:` Sphinx directives. |
| 66 | +- Tooling: |
| 67 | + - Bumped `ruff` formatter/linter version. |
| 68 | + |
| 69 | +--- |
| 70 | + |
| 71 | +### .NET |
| 72 | + |
| 73 | +- BiDi: |
| 74 | + - Updated DTO property inclusion to avoid reliance on `JsonInclude`. |
| 75 | + |
| 76 | +--- |
| 77 | + |
| 78 | +### Ruby |
| 79 | + |
| 80 | +- BiDi test infra: |
| 81 | + - Reduced number of BiDi-related test targets for better performance. |
| 82 | + - Disabled `dev/shm` for Chrome/Edge tests on RBE. |
| 83 | +- Code cleanup: |
| 84 | + - Removed deprecated logging classes. |
| 85 | + - Applied `rspec` linter syntax updates. |
| 86 | + - Fixed `nil` handling in network requests. |
| 87 | +- Build improvements: |
| 88 | + - Improved local dev environment generation. |
| 89 | + |
| 90 | +--- |
| 91 | + |
| 92 | +### Rust (Selenium Manager) |
| 93 | + |
| 94 | +- Fixed browser version test for Edge. |
| 95 | + |
| 96 | +--- |
| 97 | + |
| 98 | +## Tooling & Infrastructure |
| 99 | + |
| 100 | +- Removed unused `test_tag_filter`. |
| 101 | +- Removed legacy Travis CI environment code (Java, Ruby). |
| 102 | +- Fixed documentation update workflows for both staging and main releases. |
| 103 | + |
| 104 | +--- |
| 105 | + |
| 106 | +### 🐳 Docker Selenium |
| 107 | + |
| 108 | +- [ci] Use test public site when test run via relay session to cloud |
| 109 | +- K8s: Remove triggerMetadata with empty value to prevent Unmatched input property from KEDA checks (#3005) |
| 110 | +- K8s: Expose config session request timeout in Helm chart values (#3006) |
| 111 | +- chore(deps): update helm release kube-prometheus-stack to v79 (#3007) |
| 112 | +- [See all changes](https://github.com/SeleniumHQ/docker-selenium/releases) |
| 113 | + |
| 114 | +<br> |
| 115 | + |
| 116 | +We thank all our contributors for their incredible efforts in making Selenium better with every |
| 117 | +release. ❤️ |
| 118 | + |
| 119 | +For a detailed look at all changes, check out |
| 120 | +the [release notes](https://github.com/SeleniumHQ/selenium/releases/tag/selenium-4.38.0). |
| 121 | + |
| 122 | +<br> |
| 123 | + |
| 124 | +## Contributors |
| 125 | + |
| 126 | +**Special shout-out to everyone who helped the Selenium Team get this release out!** |
| 127 | + |
| 128 | +### [Selenium](https://github.com/SeleniumHQ/selenium) |
| 129 | + |
| 130 | +<div class="d-flex 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/Earlopain" >}} |
| 134 | +{{< gh-user "https://api.github.com/users/iampopovich" >}} |
| 135 | +{{< gh-user "https://api.github.com/users/mk868" >}} |
| 136 | + </div> |
| 137 | + </div> |
| 138 | +</div> |
| 139 | + |
| 140 | +### [Selenium Docs & Website](https://github.com/SeleniumHQ/seleniumhq.github.io) |
| 141 | + |
| 142 | +<div class="row justify-content-center"> |
| 143 | + <div class="col-11 p-4 bg-transparent"> |
| 144 | + <div class="row justify-content-center"> |
| 145 | +{{< gh-user "https://api.github.com/users/harsha509" >}} |
| 146 | + </div> |
| 147 | + </div> |
| 148 | +</div> |
| 149 | + |
| 150 | +### [Docker Selenium](https://github.com/SeleniumHQ/docker-selenium) |
| 151 | + |
| 152 | +<div class="row justify-content-center"> |
| 153 | + <div class="col-11 p-4 bg-transparent"> |
| 154 | + <div class="row justify-content-center"> |
| 155 | +{{< gh-user "https://api.github.com/users/VietND96" >}} |
| 156 | + </div> |
| 157 | + </div> |
| 158 | +</div> |
| 159 | + |
| 160 | +### [Selenium Team Members][team] |
| 161 | + |
| 162 | +**Thanks as well to all the team members who contributed to this release:** |
| 163 | + |
| 164 | +<div class="row justify-content-center"> |
| 165 | + <div class="col-11 p-4 bg-transparent"> |
| 166 | + <div class="row justify-content-center"> |
| 167 | +{{< gh-user "https://api.github.com/users/aguspe" >}} |
| 168 | +{{< gh-user "https://api.github.com/users/asolntsev" >}} |
| 169 | +{{< gh-user "https://api.github.com/users/AutomatedTester" >}} |
| 170 | +{{< gh-user "https://api.github.com/users/bonigarcia" >}} |
| 171 | +{{< gh-user "https://api.github.com/users/cgoldberg" >}} |
| 172 | +{{< gh-user "https://api.github.com/users/diemol" >}} |
| 173 | +{{< gh-user "https://api.github.com/users/harsha509" >}} |
| 174 | +{{< gh-user "https://api.github.com/users/joerg1985" >}} |
| 175 | +{{< gh-user "https://api.github.com/users/nvborisenko" >}} |
| 176 | +{{< gh-user "https://api.github.com/users/p0deje" >}} |
| 177 | +{{< gh-user "https://api.github.com/users/pujagani" >}} |
| 178 | +{{< gh-user "https://api.github.com/users/RenderMichael" >}} |
| 179 | +{{< gh-user "https://api.github.com/users/shbenzer" >}} |
| 180 | +{{< gh-user "https://api.github.com/users/shs96c" >}} |
| 181 | +{{< gh-user "https://api.github.com/users/titusfortner" >}} |
| 182 | +{{< gh-user "https://api.github.com/users/VietND96" >}} |
| 183 | + </div> |
| 184 | + </div> |
| 185 | +</div> |
| 186 | + |
| 187 | + |
| 188 | + |
| 189 | +Stay tuned for updates by following SeleniumHQ on: |
| 190 | + |
| 191 | +- [Mastodon ](https://mastodon.social/@[email protected]) |
| 192 | +- [BlueSky](https://bsky.app/profile/seleniumconf.bsky.social) |
| 193 | +- [LinkedIn](https://www.linkedin.com/company/selenium/) |
| 194 | +- [Selenium Community YouTube Channel](https://www.youtube.com/@SeleniumHQProject/streams) |
| 195 | +- [X (Formerly Twitter)](https://twitter.com/seleniumhq) |
| 196 | + |
| 197 | +Happy automating! |
| 198 | + |
| 199 | +[downloads]: /downloads |
| 200 | + |
| 201 | +[bindings]: /downloads#bindings |
| 202 | + |
| 203 | +[team]: /project/structure |
| 204 | + |
| 205 | +[BiDi]: https://github.com/w3c/webdriver-bidi |
0 commit comments