14.4.0

Released Released on May 19, 2025

Features:

  • @cypress/webpack-dev-server and @cypress/webpack-batteries-included-preprocessor now ship with webpack-bundle-analyzer as a diagnostic tool to determine bundle statistics, which can be enabled via DEBUG=cypress-verbose:webpack-dev-server:bundle-analyzer (component tests using webpack) or DEBUG=cypress-verbose:webpack-batteries-included-preprocessor:bundle-analyzer (e2e tests using webpack, which is the default preprocessor), respectively. Addresses #30461.

Bugfixes:

  • Fixed an issue where framebusting was occurring when top.window.location was being set explicitly. This fix does not require the experimentalModifyObstructiveThirdPartyCode configuration option. Addresses #31687.

  • cy.press() now has a return type of Chainable<null> instead of void to match the convention of other commands that yield null. Addressed in #31698.

  • Fixed an issue with the experimental usage of WebKit where Cypress incorrectly displayed 0 as the WebKit version. Addresses #31684.

Misc:

  • Chrome 137+ no longer supports --load-extension in branded Chrome, breaking the @cypress/puppeteer plugin in open mode and headed run mode and launchOptions.extensions. We recommend using Electron, Chrome for Testing or Chromium to continue using these features. See Cypress Docker image examples for Chrome for Testing and Chromium. Addresses #31702 and #31703.

  • Cursor is now available as an IDE option for opening files in Cypress, if it is installed on your system. Addressed in #31691.

  • The error shown when the --record flag is missing has been updated to be shorter. Addressed in #31676.

Dependency Updates:

  • Upgraded @sinonjs/fake-timers from 8.1.0 to 10.3.0. Addressed in #31725 and #31737.

  • Upgraded trash from 5.2.0 to 7.2.0. Addressed in #31667.

  • Upgraded webdriver from 9.11.0 to 9.14.0. Addressed in #31689.