Search⌘ K
AI Features

Cross-Browser Testing

Explore how to use Cypress for cross-browser testing by running your test suites on popular browsers like Chrome, Firefox, Edge, and Electron. Understand configuring browser selection, executing specific tests by browser, and leveraging Cypress’s automated screenshots and video recordings to diagnose test failures and improve your application's cross-platform reliability.

When building an application for the web, it is probable that our users won’t be using a single browser. While the market share is mainly dominated by Chrome, some other popular choices include Safari, Firefox, and Edge.

If your traffic is in the millions, even 1% of users can mean tens of thousands. If you don’t want to miss out on an audience, you have to make sure your application works perfectly across different platforms. This is why cross-browser testing is important.


Selecting browsers through the test runner

Cypress has the ability to run our test cases in multiple browsers. Currently, it supports Chromium-based browsers, such as Electron, Chrome, Firefox, and Edge.

Others such as IE or Safari are currently unsupported. You can read about their roadmap regarding cross-browser support on GitHub.

Apart from Electron, any browser that we want to use to run our test cases needs to be installed locally or in ...