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 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 ModulesCompatibility
PackageCurrent versionPackageCompatible versions
Core Modules
@serenity-js/core3.31.1
@serenity-js/assertions3.31.1
Web Testing
@serenity-js/web3.31.1
@serenity-js/playwright3.31.1playwright-core (required)~1.49.0
@serenity-js/protractor3.31.1protractor (required)^5.0.0
^7.0.0
@serenity-js/webdriverio3.31.1@wdio/cli (required)^9.4.2
webdriverio (required)^9.4.2
@serenity-js/webdriverio-83.31.1@wdio/cli (required)^8.40.6
webdriverio (required)^8.40.6
REST API Testing
@serenity-js/rest3.31.1axios (direct)1.7.9
@serenity-js/local-server3.31.1@hapi/hapi (optional)^21.3.12
express (optional)^4.21.2
koa (optional)^2.15.3
restify (optional)^11.1.0
Reporting
@serenity-js/console-reporter3.31.1
@serenity-js/serenity-bdd3.31.1axios (direct)1.7.9
Test Runners
@serenity-js/cucumber3.31.1@cucumber/cucumber (optional)^7.3.2
^8.5.0
^9.1.0
^10.0.0
^11.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.31.1jasmine (required)^5.5.0
@serenity-js/mocha3.31.1mocha (required)^10.8.2
^11.0.1
@serenity-js/playwright-test3.31.1@playwright/test (required)~1.49.0

Updating Serenity/JS​

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