|
| 1 | +--- |
| 2 | +slug: support-for-webdriverio-9 |
| 3 | +title: Support for WebdriverIO 9 |
| 4 | +authors: [jan-molak] |
| 5 | +tags: |
| 6 | + - core |
| 7 | + - webdriverio |
| 8 | + - web |
| 9 | + - open-source |
| 10 | +--- |
| 11 | + |
| 12 | +We’re thrilled to announce the release of Serenity/JS 3.31, marking a significant step forward for modern test automation. |
| 13 | +This release introduces support for **WebdriverIO 9**, |
| 14 | +while maintaining compatibility with **WebdriverIO 8** for projects that are not yet ready to migrate ([#2572](https://github.com/serenity-js/serenity-js/issues/2572)). |
| 15 | + |
| 16 | +Let’s explore what makes this update exciting! |
| 17 | + |
| 18 | +{/* truncate */} |
| 19 | + |
| 20 | +:::tip New to Serenity/JS? |
| 21 | +New to Serenity/JS or test automation? Start with ["Your first web scenario"](/handbook/web-testing/your-first-web-scenario/), |
| 22 | +praised by our community as "the best guide to take your automation skills to the next level." |
| 23 | +::: |
| 24 | + |
| 25 | +## New in Serenity/JS 3.31 |
| 26 | + |
| 27 | +### Support for WebdriverIO 9 |
| 28 | + |
| 29 | +The most notable new feature introduced by [WebdriverIO 9](https://webdriver.io/blog/2024/08/15/webdriverio-v9-release/) is support for the **WebDriver BiDi protocol**. |
| 30 | +This new protocol enables modern test automation capabilities like network request mocking and console log inspection, |
| 31 | +which will be progressively supported with dedicated Screenplay Pattern interactions in upcoming Serenity/JS releases. |
| 32 | + |
| 33 | +Thanks to Serenity/JS being an [abstraction over WebdriverIO](/handbook/getting-started/architecture/) (and other [web integration tools](/api/web/)), upgrading to WebdriverIO 9 should require only a few simple configuration updates |
| 34 | +to replace the deprecated configuration properties. |
| 35 | +In most cases, no changes to test code are needed helping your team stay up-to-date with your tools while minimising the maintenance cost of your Serenity/JS-based frameworks. |
| 36 | + |
| 37 | +We owe special thanks to [Christian Bromann](https://github.com/christian-bromann), Head of the WebdriverIO project, for supporting us in integrating Serenity/JS with this new release. |
| 38 | + |
| 39 | +Thank you, Christian! |
| 40 | + |
| 41 | +### Continued support for WebdriverIO 8 |
| 42 | + |
| 43 | +Serenity/JS continues to support WebdriverIO 8 via the new [`@serenity-js/webdriverio-8`](/api/webdriverio-8/) module, offering stability for teams not yet ready to upgrade. |
| 44 | +This ensures smooth transition without compromising existing projects. |
| 45 | + |
| 46 | +### Brand new WebdriverIO guide |
| 47 | + |
| 48 | +We've revised, simplified, and updated the [Serenity/JS WebdriverIO integration guide](/handbook/test-runners/webdriverio/) to reflect the latest changes, making it easier for you to get started with Serenity/JS and WebdriverIO 9. |
| 49 | + |
| 50 | +### Updated WebdriverIO Project Templates |
| 51 | + |
| 52 | +[Serenity/JS Project Templates](/handbook/getting-started/project-templates/) now default to WebdriverIO 9, making it easy for new projects to start with the latest features. |
| 53 | + |
| 54 | +## Upgrading to Serenity/JS 3.31 |
| 55 | + |
| 56 | +To upgrade your existing project to **Serenity/JS 3.31** and **WebdriverIO 9**, follow our new [WebdriverIO 9 upgrade guide](/handbook/test-runners/webdriverio/#upgrading-to-webdriverio-9). |
| 57 | + |
| 58 | +If you'd like to upgrade Serenity/JS but keep using **WebdriverIO 8**, follow these steps: |
| 59 | +- install the `@serenity-js/webdriverio-8` module instead of `@serenity-js/webdriverio`, |
| 60 | +- replace any imports of `@serenity-js/webdriverio` with `@serenity-js/webdriverio-8`. |
| 61 | + |
| 62 | +## Your feedback matters! |
| 63 | + |
| 64 | +I hope this latest release of Serenity/JS will make it even easier for you and your team to create high-quality test automation. |
| 65 | + |
| 66 | +Let me know what you think of the new features in the [comments below](/blog/better-api-documentation/#giscus-comments) 👇👇👇 |
| 67 | + |
| 68 | +### 📣 Stay up to date |
| 69 | + |
| 70 | +New features, tutorials, and demos are coming soon! |
| 71 | +Follow [Serenity/JS on LinkedIn](https://www.linkedin.com/company/serenity-js), |
| 72 | +subscribe to [Serenity/JS channel on YouTube](https://www.youtube.com/@serenity-js) and join the [Serenity/JS Community Chat](https://matrix.to/#/#serenity-js:gitter.im) to stay up to date! |
| 73 | +Please also make sure to star ⭐️ [Serenity/JS on GitHub](https://github.com/serenity-js/serenity-js) to help others discover the framework! |
| 74 | + |
| 75 | +[](https://www.linkedin.com/company/serenity-js) |
| 76 | +[](https://www.youtube.com/@serenity-js) |
| 77 | +[](https://matrix.to/#/#serenity-js:gitter.im) |
| 78 | +[](https://github.com/serenity-js/serenity-js) |
| 79 | + |
| 80 | +### 💛 Support Serenity/JS |
| 81 | + |
| 82 | +If you appreciate all the effort that goes into making sophisticated tools easy to work with, please support our work and become a Serenity/JS GitHub Sponsor today! |
| 83 | + |
| 84 | +[](https://github.com/sponsors/serenity-js) |
0 commit comments