Current releases and compatibility
Node.js compatibility​
To help ensure optimal stability of your test scenarios, you should use a recent Long-Term Support (LTS) version of the Node.js platform.
Serenity/JS is tested with the latest versions of Node.js 18.12, 20, and 22. While non-LTS versions of Node.js may work, they are not officially supported and you should avoid using them in production environments.
Serenity/JS compatibility​
Serenity/JS helps you integrate your test automation framework with your favourite tools and libraries.
To make sure your Serenity/JS setup is up to date and you're using the right versions of the Serenity/JS modules, check the compatibility matrix below.
| Serenity/JS Modules | Compatibility | ||
|---|---|---|---|
| Package | Current version | Package | Compatible versions |
| Core Modules | |||
| @serenity-js/core | 3.35.2 | ||
| @serenity-js/assertions | 3.35.2 | ||
| Web Testing | |||
| @serenity-js/web | 3.35.2 | ||
| @serenity-js/playwright | 3.35.2 | playwright-core (required) | ~1.56.0 |
| @serenity-js/protractor | 3.35.2 | protractor (required) | ^5.0.0^7.0.0 |
| @serenity-js/webdriverio | 3.35.2 | @wdio/cli (required) | ^9.20.0 |
| webdriverio (required) | ^9.20.0 | ||
| @serenity-js/webdriverio-8 | 3.35.2 | @wdio/cli (required) | ^8.46.0 |
| webdriverio (required) | ^8.46.0 | ||
| REST API Testing | |||
| @serenity-js/rest | 3.35.2 | axios (direct) | 1.11.0 |
| @serenity-js/local-server | 3.35.2 | @hapi/hapi (optional) | ^21.4.3 |
| express (optional) | ^5.1.0 | ||
| koa (optional) | ^3.0.1 | ||
| restify (optional) | ^11.1.0 | ||
| Reporting | |||
| @serenity-js/console-reporter | 3.35.2 | ||
| @serenity-js/serenity-bdd | 3.35.2 | axios (direct) | 1.11.0 |
| Test Runners | |||
| @serenity-js/cucumber | 3.35.2 | @cucumber/cucumber (optional) | ^7.3.2^8.5.0^9.1.0^10.0.0^11.0.0^12.0.0 |
| cucumber (optional) | ^1.3.3^2.3.1^3.2.1^4.2.1^5.0.0^6.0.0 | ||
| @serenity-js/jasmine | 3.35.2 | jasmine (required) | ^5.12.0 |
| @serenity-js/mocha | 3.35.2 | mocha (required) | ^10.8.2^11.0.1 |
| @serenity-js/playwright-test | 3.35.2 | @playwright/test (required) | ~1.56.0 |
Updating Serenity/JS​
To learn how to keep your Serenity/JS project up-to-date, check out the Updating Serenity/JS guide.