Specify a Cypress version

Learn about the versions of Cypress we support and how to configure your builds.

Supported versions

You can use the cypress_version key in run_settings option in the browserstack.json file to specify the Cypress version you want to use. Here are the supported versions:

key Description Possible values
cypress_version The Cypress version you want to run the tests with 4 to run tests on 4.12.1
5 to run tests on 5.6.0
6 to run tests on 6.8.0
7 to run tests on 7.2.0

For example:

browserstack.json
{
  ...
  "run_settings": {
      ...
      "cypress_version": "6",
      ...
    }
  ...
}

Frequently asked questions

What are the exact versions supported?

Currently we support the following versions:

  • For 4.x.x, we support 4.12.1. You can configure the version as 4 in the config file.
  • For 5.x.x, we support 5.6.0. You can configure the version as 5 in the config file.
  • For 6.x.x, we support 6.8.0. You can configure the version as 6 in the config file.
  • For 7.x.x, we support 7.2.0 and 7.6.0. You can configure the version as 7 in the config file.

When will you update to latest minor or patch versions?

We are working on ways to support the latest minor versions in each major release trees as they are released - expect us to upgrade to the latest minor versions in all major release branches soon.

Can I specify the exact minor or patch version that I want to use?

Unfortunately, we only support one latest stable minor / patch for every major version as Cypress maintains backward compatibility in the same major branch.

If you have a use case where you really need to use a Cypress version other than the one we support, please reach out to our Support team at support@browserstack.com

We're sorry to hear that. Please share your feedback so we can do better







Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better







Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback!

Talk to an Expert
Talk to an Expert