|
| 1 | +--- |
| 2 | +title: "Selenium 4.40 Released!" |
| 3 | +linkTitle: "Selenium 4.40 Released!" |
| 4 | +date: 2026-01-18 |
| 5 | +tags: [ "selenium" ] |
| 6 | +categories: [ "releases" ] |
| 7 | +author: Diego Molina [@diemol](https://www.diemol.com) |
| 8 | +images: |
| 9 | + - "/images/blog/2026/selenium_4.40.jpg" |
| 10 | +description: > |
| 11 | + Today we're happy to announce that Selenium 4.40 has been released! |
| 12 | +--- |
| 13 | + |
| 14 | +We’re excited to announce the release of **Selenium 4.40** 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.40 Released |
| 23 | + |
| 24 | +## ✨ Highlights |
| 25 | + |
| 26 | +- **Chrome DevTools support** is now: v144, v143, and v142. |
| 27 | +- **[Java]** Expanded BiDi support: `setScreenOrientationOverride`, `setNetworkConditions`, and command return type changes. |
| 28 | +- **[Python]** Introduced `LocalWebDriver` base class, improved docstring formatting and typing, removed deprecated code. |
| 29 | +- **[Ruby]** Better test synchronization, clearer BiDi API boundaries, and internal improvements. |
| 30 | +- **[DotNet]** BiDi improvements in Input, Emulation, and buffer pooling logic. |
| 31 | +- **[Grid]** Improved dynamic Grid container handling, better concurrent session handling, and race condition fixes. |
| 32 | +- **[Build]** Bazel-based documentation and release automation improvements across all bindings. |
| 33 | + |
| 34 | +--- |
| 35 | + |
| 36 | +## 📦 Notable Changes |
| 37 | + |
| 38 | +### Java |
| 39 | +- Added support for new BiDi emulation and network commands. |
| 40 | +- Deprecated unused logging and Guava collections. |
| 41 | +- Improved test infrastructure and flaky test fixes. |
| 42 | +- Improved Grid file upload, JSON parsing, and error handling. |
| 43 | +- Automatically save screenshots and page sources on failure. |
| 44 | + |
| 45 | +### Python |
| 46 | +- Added `LocalWebDriver` base class. |
| 47 | +- Removed deprecated `FirefoxBinary` and `FTP proxy` support. |
| 48 | +- Improved linting and typing with `ruff` and `mypy`. |
| 49 | +- Better grid test integration and SE_DEBUG logging. |
| 50 | + |
| 51 | +### Ruby |
| 52 | +- Improved error handling and synchronization for socket interactions. |
| 53 | +- Marked BiDi internals as private. |
| 54 | +- Fixed various flaky test issues. |
| 55 | + |
| 56 | +### .NET |
| 57 | +- Support for `SetScreenSettingsOverrideAsync`, `FileDialogOpened`, and input module exposure. |
| 58 | +- Improved memory usage and buffer reuse in BiDi communication. |
| 59 | +- Removed obsolete or unstable APIs. |
| 60 | + |
| 61 | +### Grid |
| 62 | +- Smarter container naming and label handling in Dynamic Grid. |
| 63 | +- Race condition and concurrent session handling improvements. |
| 64 | + |
| 65 | +### Build & Infra |
| 66 | +- All bindings now support rerun on test failures. |
| 67 | +- Improved CI speed, clarity, and isolation. |
| 68 | +- Build/test infra modernized with Bazel rules and doc generation. |
| 69 | + |
| 70 | +--- |
| 71 | + |
| 72 | +### 🐳 Docker Selenium |
| 73 | + |
| 74 | +- K8s: Add transitionary support for FB_BASEURL to FB_BASE_URL (#3053) |
| 75 | +- Docker: Add package fonts-thai-tlwg-ttf for Thai language (#3052) |
| 76 | +- K8s: Template handle scaledJobOptions with value is zero (#3054) |
| 77 | +* - [See all changes](https://github.com/SeleniumHQ/docker-selenium/releases) |
| 78 | + |
| 79 | +<br> |
| 80 | + |
| 81 | +We thank all our contributors for their incredible efforts in making Selenium better with every |
| 82 | +release. ❤️ |
| 83 | + |
| 84 | +For a detailed look at all changes, check out |
| 85 | +the [release notes](https://github.com/SeleniumHQ/selenium/releases/tag/selenium-4.40.0). |
| 86 | + |
| 87 | +<br> |
| 88 | + |
| 89 | +## Contributors |
| 90 | + |
| 91 | +**Special shout-out to everyone who helped the Selenium Team get this release out!** |
| 92 | + |
| 93 | +### [Selenium](https://github.com/SeleniumHQ/selenium) |
| 94 | + |
| 95 | +<div class="d-flex justify-content-center"> |
| 96 | + <div class="col-11 p-4 bg-transparent"> |
| 97 | + <div class="row justify-content-center"> |
| 98 | +{{< gh-user "https://api.github.com/users/mzyndul" >}} |
| 99 | + </div> |
| 100 | + </div> |
| 101 | +</div> |
| 102 | + |
| 103 | +### [Selenium Docs & Website](https://github.com/SeleniumHQ/seleniumhq.github.io) |
| 104 | + |
| 105 | +<div class="row justify-content-center"> |
| 106 | + <div class="col-11 p-4 bg-transparent"> |
| 107 | + <div class="row justify-content-center"> |
| 108 | +{{< gh-user "https://api.github.com/users/alaahong" >}} |
| 109 | + </div> |
| 110 | + </div> |
| 111 | +</div> |
| 112 | + |
| 113 | +### [Docker Selenium](https://github.com/SeleniumHQ/docker-selenium) |
| 114 | + |
| 115 | +<div class="row justify-content-center"> |
| 116 | + <div class="col-11 p-4 bg-transparent"> |
| 117 | + <div class="row justify-content-center"> |
| 118 | +{{< gh-user "https://api.github.com/users/KyriosGN0" >}} |
| 119 | + </div> |
| 120 | + </div> |
| 121 | +</div> |
| 122 | + |
| 123 | +### [Selenium Team Members][team] |
| 124 | + |
| 125 | +**Thanks as well to all the team members who contributed to this release:** |
| 126 | + |
| 127 | +<div class="row justify-content-center"> |
| 128 | + <div class="col-11 p-4 bg-transparent"> |
| 129 | + <div class="row justify-content-center"> |
| 130 | +{{< gh-user "https://api.github.com/users/aguspe" >}} |
| 131 | +{{< gh-user "https://api.github.com/users/asolntsev" >}} |
| 132 | +{{< gh-user "https://api.github.com/users/AutomatedTester" >}} |
| 133 | +{{< gh-user "https://api.github.com/users/bonigarcia" >}} |
| 134 | +{{< gh-user "https://api.github.com/users/cgoldberg" >}} |
| 135 | +{{< gh-user "https://api.github.com/users/diemol" >}} |
| 136 | +{{< gh-user "https://api.github.com/users/harsha509" >}} |
| 137 | +{{< gh-user "https://api.github.com/users/joerg1985" >}} |
| 138 | +{{< gh-user "https://api.github.com/users/nvborisenko" >}} |
| 139 | +{{< gh-user "https://api.github.com/users/p0deje" >}} |
| 140 | +{{< gh-user "https://api.github.com/users/pujagani" >}} |
| 141 | +{{< gh-user "https://api.github.com/users/RenderMichael" >}} |
| 142 | +{{< gh-user "https://api.github.com/users/shbenzer" >}} |
| 143 | +{{< gh-user "https://api.github.com/users/shs96c" >}} |
| 144 | +{{< gh-user "https://api.github.com/users/titusfortner" >}} |
| 145 | +{{< gh-user "https://api.github.com/users/VietND96" >}} |
| 146 | + </div> |
| 147 | + </div> |
| 148 | +</div> |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | +Stay tuned for updates by following SeleniumHQ on: |
| 153 | + |
| 154 | +- [Mastodon ](https://mastodon.social/@[email protected]) |
| 155 | +- [BlueSky](https://bsky.app/profile/seleniumconf.bsky.social) |
| 156 | +- [LinkedIn](https://www.linkedin.com/company/selenium/) |
| 157 | +- [Selenium Community YouTube Channel](https://www.youtube.com/@SeleniumHQProject/streams) |
| 158 | +- [X (Formerly Twitter)](https://twitter.com/seleniumhq) |
| 159 | + |
| 160 | +Happy automating! |
| 161 | + |
| 162 | +[downloads]: /downloads |
| 163 | + |
| 164 | +[bindings]: /downloads#bindings |
| 165 | + |
| 166 | +[team]: /project/structure |
| 167 | + |
| 168 | +[BiDi]: https://github.com/w3c/webdriver-bidi |
0 commit comments