|
| 1 | +--- |
| 2 | +title: "Selenium 4.22 Released!" |
| 3 | +linkTitle: "Selenium 4.22 Released!" |
| 4 | +date: 2024-05-16 |
| 5 | +tags: ["selenium"] |
| 6 | +categories: ["releases"] |
| 7 | +author: Titus Fortner [@titusfortner](https://titusfortner.com) |
| 8 | +description: > |
| 9 | + Today we're happy to announce that Selenium 4.22 has been released! |
| 10 | +--- |
| 11 | + |
| 12 | +We're very happy to announce the release of Selenium 4.22.0 for |
| 13 | +Javascript, Ruby, Python, .NET, Java and the Grid! |
| 14 | +Links to everything can be found on our [downloads page][downloads]. |
| 15 | + |
| 16 | +### Highlights |
| 17 | + |
| 18 | + * Selenium has at least [2.6 active users](https://plausible.io/manager.selenium.dev) in the last 30 days. 200k more than last month! |
| 19 | + * All information we collect is publicly available. |
| 20 | + * The numbers only represent users who have Selenium Manager enabled and are using Selenium v4.17 or greater. |
| 21 | + * Python, Chrome and Windows all see the majority of use. |
| 22 | +* Chrome DevTools support is now: v124, v125, and v126 (Firefox still uses v85 for all versions) |
| 23 | +* The first implementations of the final BiDi API have rolled out. |
| 24 | + |
| 25 | +#### Noteworthy changes per language |
| 26 | + |
| 27 | + * Java |
| 28 | + * Enabling BiDi can now be accomplished by calling `enableBiDi()` on an Options class instance. |
| 29 | + * Video file name in Dynamic Grid can be seet with `se:videoName` capability. |
| 30 | + * [See all changes](https://github.com/SeleniumHQ/selenium/blob/trunk/java/CHANGELOG) |
| 31 | + |
| 32 | + <br> |
| 33 | + |
| 34 | + * JavaScript |
| 35 | + * BiDi API for console logging and JavaScript errors has been implemented. |
| 36 | + * Additional BiDi implementations. |
| 37 | + * [See all changes](https://github.com/SeleniumHQ/selenium/blob/trunk/javascript/node/selenium-webdriver/CHANGES.md) |
| 38 | + |
| 39 | + <br> |
| 40 | + |
| 41 | + * .NET |
| 42 | + * The .NET bindings have started to roll out asynchronous methods. |
| 43 | + * The synchronous methods will still be supported, but they will call the async methods "under the hood." |
| 44 | + * This release adds asynchronous methods to the Navigation class. |
| 45 | + * [See all changes](https://github.com/SeleniumHQ/selenium/blob/trunk/dotnet/CHANGELOG) |
| 46 | + |
| 47 | + <br> |
| 48 | + |
| 49 | + * Python |
| 50 | + * This release implements a new way of working with Chrome Devtools Protocol |
| 51 | + * The previous implementation requires async/await pattern, so it was not backwards compatible. |
| 52 | + * The new implementation is backwards compatible and executes async code in separate threads. |
| 53 | + * Updated the webkitgtk and wpewebkit driver implementations. |
| 54 | + * Enabling BiDi can now be accomplished by setting the `enable_bidi()` property of an Options class instance to `True`. |
| 55 | + * BiDi API for console logging and JavaScript errors has been implemented. |
| 56 | + * [See all changes](https://github.com/SeleniumHQ/selenium/blob/trunk/py/CHANGES) |
| 57 | + |
| 58 | + <br> |
| 59 | + |
| 60 | + * Ruby |
| 61 | + * Implemented a toggle for BiDi and Classic implementations. |
| 62 | + * BiDi API for console logging and JavaScript errors has been implemented. |
| 63 | + * [See all changes](https://github.com/SeleniumHQ/selenium/blob/trunk/rb/CHANGES) |
| 64 | + |
| 65 | + |
| 66 | + <br> |
| 67 | + |
| 68 | + * Rust |
| 69 | + * Added the ability to stream logging information to stdout instead of after execution complete. |
| 70 | + * Improved binary location on Windows with native Rust methods. |
| 71 | + * [See all changes](https://github.com/SeleniumHQ/selenium/blob/trunk/rust/CHANGELOG.md) |
| 72 | + |
| 73 | +### Contributors |
| 74 | + |
| 75 | +**Special shout-out to everyone who helped the Selenium Team get this release out!** |
| 76 | + |
| 77 | +#### [Selenium](https://github.com/SeleniumHQ/selenium) |
| 78 | + |
| 79 | +<div class="d-flex justify-content-center"> |
| 80 | + <div class="col-11 p-4 bg-transparent"> |
| 81 | + <div class="row justify-content-center"> |
| 82 | +{{< gh-user "https://api.github.com/users/3dprogramin" >}} |
| 83 | +{{< gh-user "https://api.github.com/users/VietND96" >}} |
| 84 | +{{< gh-user "https://api.github.com/users/aguspe" >}} |
| 85 | +{{< gh-user "https://api.github.com/users/bgermann" >}} |
| 86 | +{{< gh-user "https://api.github.com/users/Earlopain" >}} |
| 87 | +{{< gh-user "https://api.github.com/users/iampopovich" >}} |
| 88 | +{{< gh-user "https://api.github.com/users/millin" >}} |
| 89 | +{{< gh-user "https://api.github.com/users/sbabcoc" >}} |
| 90 | +{{< gh-user "https://api.github.com/users/vlad8x8" >}} |
| 91 | +{{< gh-user "https://api.github.com/users/yuzawa-san" >}} |
| 92 | + </div> |
| 93 | + </div> |
| 94 | +</div> |
| 95 | + |
| 96 | + |
| 97 | +#### [Selenium Docs & Website](https://github.com/SeleniumHQ/seleniumhq.github.io) |
| 98 | + |
| 99 | +<div class="row justify-content-center"> |
| 100 | + <div class="col-11 p-4 bg-transparent"> |
| 101 | + <div class="row justify-content-center"> |
| 102 | +{{< gh-user "https://api.github.com/users/alaahong" >}} |
| 103 | +{{< gh-user "https://api.github.com/users/aguspe" >}} |
| 104 | +{{< gh-user "https://api.github.com/users/digitalvoice-nz |
| 105 | +{{< gh-user "https://api.github.com/users/josh-pinwheelapi |
| 106 | +{{< gh-user "https://api.github.com/users/pallavigitwork" >}} |
| 107 | +{{< gh-user "https://api.github.com/users/Pexpe" >}} |
| 108 | +{{< gh-user "https://api.github.com/users/sangcnguyen" >}} |
| 109 | +" >}} |
| 110 | + </div> |
| 111 | + </div> |
| 112 | +</div> |
| 113 | + |
| 114 | +#### [Docker Selenium](https://github.com/SeleniumHQ/docker-selenium) |
| 115 | + |
| 116 | +<div class="row justify-content-center"> |
| 117 | + <div class="col-11 p-4 bg-transparent"> |
| 118 | + <div class="row justify-content-center"> |
| 119 | +{{< gh-user "https://api.github.com/users/VietND96" >}} |
| 120 | + </div> |
| 121 | + </div> |
| 122 | +</div> |
| 123 | + |
| 124 | +#### [Selenium Team Members][team] |
| 125 | + |
| 126 | +**Thanks as well to all the team members who contributed to this release:** |
| 127 | + |
| 128 | +<div class="row justify-content-center"> |
| 129 | + <div class="col-11 p-4 bg-transparent"> |
| 130 | + <div class="row justify-content-center"> |
| 131 | +{{< gh-user "https://api.github.com/users/AutomatedTester" >}} |
| 132 | +{{< gh-user "https://api.github.com/users/bonigarcia" >}} |
| 133 | +{{< gh-user "https://api.github.com/users/diemol" >}} |
| 134 | +{{< gh-user "https://api.github.com/users/harsha509" >}} |
| 135 | +{{< gh-user "https://api.github.com/users/joerg1985" >}} |
| 136 | +{{< gh-user "https://api.github.com/users/p0deje" >}} |
| 137 | +{{< gh-user "https://api.github.com/users/pujagani" >}} |
| 138 | +{{< gh-user "https://api.github.com/users/shs96c" >}} |
| 139 | +{{< gh-user "https://api.github.com/users/titusfortner" >}} |
| 140 | + </div> |
| 141 | + </div> |
| 142 | +</div> |
| 143 | + |
| 144 | +Stay tuned for updates by following SeleniumHQ on [X (Formerly Twitter)](https://twitter.com/seleniumhq) or [LinkedIn](https://www.linkedin.com/company/selenium/)! |
| 145 | + |
| 146 | +Happy automating! |
| 147 | + |
| 148 | +[downloads]: /downloads |
| 149 | +[bindings]: /downloads#bindings |
| 150 | +[team]: /project/structure |
| 151 | +[BiDi]: https://github.com/w3c/webdriver-bidi |
0 commit comments