Skip to main content

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 20, 22, and 24. 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 ModulesCompatibility
PackageCurrent versionPackageCompatible versions
Core Modules
@serenity-js/core3.37.0
@serenity-js/assertions3.37.0
Web Testing
@serenity-js/web3.37.0
@serenity-js/playwright3.37.0playwright-core (required)~1.57.0
@serenity-js/protractor3.37.0protractor (required)^5.0.0
^7.0.0
@serenity-js/webdriverio3.37.0@wdio/cli (required)^9.20.1
webdriverio (required)^9.20.1
@serenity-js/webdriverio-83.37.0@wdio/cli (required)^8.46.0
webdriverio (required)^8.46.0
REST API Testing
@serenity-js/rest3.37.0axios (direct)1.13.2
@serenity-js/local-server3.37.0@hapi/hapi (optional)^21.4.4
express (optional)^5.2.0
koa (optional)^3.1.1
restify (optional)^11.1.0
Reporting
@serenity-js/console-reporter3.37.0
@serenity-js/serenity-bdd3.37.0axios (direct)1.13.2
Test Runners
@serenity-js/cucumber3.37.0@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/jasmine3.37.0jasmine (required)^5.13.0
@serenity-js/mocha3.37.0mocha (required)^10.8.2
^11.0.1
@serenity-js/playwright-test3.37.0@playwright/test (required)~1.57.0
axios (direct)1.13.2

Updating Serenity/JS​

To learn how to keep your Serenity/JS project up-to-date, check out the Updating Serenity/JS guide.