Cypress vs Selenium: open-source browser automation tools compared
Metrics as of , from the GitHub or GitLab API of each repository. Refreshed monthly.
Summary
Cypress: Browser testing tool for end-to-end, component, accessibility and API tests, run from a local app or CLI.
Selenium: Browser automation project built on W3C WebDriver, with language bindings, a record-and-playback IDE and Grid.
Both are listed under Browser automation. The table gives repository metrics from the GitHub API with their fetch date, then the documented facts used for every comparison in this category, each linked to the README or docs page it comes from. A cell reads "not documented" when the fact was not found in the project's documentation (3 of 14 fact cells here); that does not mean the feature is absent.
Side by side
| Fact | Cypress | Selenium |
|---|---|---|
| Stars | 51,0211 | 34,5111 |
| Forks | 3,6421 | 8,7191 |
| Contributors | 5571 | 9481 |
| Last release | 2026-09-151 | 2026-09-091 |
| Last commit | 2026-09-221 | 2026-09-221 |
| Commits in 90 days | 5841 | 3581 |
| License | MIT1 | Apache-2.01 |
| Primary language | TypeScript1 | Java1 |
| Status | active1 | active1 |
| Languages for writing tests | JavaScript and TypeScript (.js, .jsx, .ts, .tsx spec files) source: Docs: Writing and Organizing Tests | Java, Python, C#, Ruby, JavaScript, Kotlin source: Docs: The Selenium Browser Automation Project |
| Browsers | Chrome-family browsers (including Edge and Chrome for Testing), Firefox; WebKit experimental source: Docs: Launching Browsers | Chrome, Edge, Firefox, Internet Explorer, Safari source: Docs: Supported Browsers |
| Test authoring format | Code (spec files with Mocha structure and Chai assertions) source: Docs: Writing and Organizing Tests | Code (WebDriver API in each language binding) source: Docs: The Selenium Browser Automation Project |
| Parallel or distributed execution | not documentednot found in the project's documentation as of | Selenium Grid routes WebDriver commands to browsers on remote machines source: Docs: Grid |
| CI integration | Any CI provider; named: GitHub Actions, CircleCI, GitLab CI, Jenkins, AWS CodeBuild source: Docs: Continuous Integration | not documentednot found in the project's documentation as of |
| Report formats | Mocha reporters (spec by default), teamcity and junit built in; custom reporters source: Docs: Reporters | not documentednot found in the project's documentation as of |
| Install method | npm (npm install cypress --save-dev), yarn or pnpm source: README | Language packages: Maven, pip install selenium, NuGet, gem install selenium-webdriver, npm install selenium-webdriver source: Docs: Install a Selenium library |
1 Fetched from the GitHub or GitLab API on . Hover a value for its own date.
When each fits
Written from each project's documented scope, not from preference. Neither tool is ranked.
Cypress
Fits projects that test applications running in a browser; its docs describe end-to-end testing, component testing and accessibility testing in one locally installed app. source: Docs: Why Cypress?
Selenium
Fits projects that automate web browsers through the W3C WebDriver interface; its README describes an umbrella project of tools and libraries for web browser automation. source: README
More on these tools
Sources
- GitHub REST API: repository, read
- GitHub REST API: repository, read
- GitHub REST API: contributors, read
- GitHub REST API: contributors, read
- GitHub REST API: latest release, read
- GitHub REST API: latest release, read
- GitHub REST API: commits, read
- GitHub REST API: commits, read
- Docs: Writing and Organizing Tests, read
- Docs: The Selenium Browser Automation Project, read
- Docs: Launching Browsers, read
- Docs: Supported Browsers, read
- Docs: Grid, read
- Docs: Continuous Integration, read
- Docs: Reporters, read
- README, read
- Docs: Install a Selenium library, read
- Docs: Why Cypress?, read
- README, read
Documented facts collected 2026-09-22. See the methodology for how metrics and facts are gathered.