Skip to main content

How to Upgrade hermione to Version 6.x

warning

If your project is using a hermione version earlier than 4.x, please first read "How to Upgrade hermione to Version 4.x" and "How to Upgrade hermione to Version 5.x".

We recommend upgrading hermione in stages, ensuring each step that all project tests run correctly.

What Has Changed?

Dropped Support for Node.JS < 14.x

In this major version, hermione no longer supports versions Node.JS < 14.x.

If your project is already using Node.JS version 14.x or higher and this does not apply to you, we still recommend upgrading hermione to version 6 to get [the latest features][hermione-new-features].

browserWSEndpoint

There is now a browserWSEndpoint option in the browser settings, which allows you to override the link for accessing browsers via the Chrome DevTools Protocol (CDP).

Example configuration:

//.hermione.conf.js
const gridHost = "localhost";

module.exports = {
gridUrl: `https://${gridHost}/:4444/wd/hub`,
browserWSEndpoint: `ws:${gridHost}/wd/hub`,

// other hermione settings...
};
warning

This setting will not work if your project is using a very old browser version. It is guaranteed to work in Chrome, starting from version 101.

Support

If you encounter issues during the migration to the new version or have any questions, visit github issues — we will definitely help you!