Test modern apps directly in your browser

Build, test, and debug directly in your browser with a seamless developer experience that is loved by developers all around the world. Test your code, not your patience.

npm install cypress

Installing Cypress

Need help

NPM Install

Click to copy the command below to paste into your terminal:

npm install cypress

Documentation

Test Generation

Write and record passing tests in minutes

  • Interactive Recording
    Record interactions in real time with Cypress Studio. As you click through your application, Cypress automatically generates code you can fine-tune inline — making test creation faster than ever.

Learn more

  • Natural-language Testing
    Use cy.prompt to describe what you want to happen in plain language. Cypress AI generates the code for you and self-heals tests by regenerating them only when necessary.

Learn more

  • Smart Recommendations
    Let AI guide you in Cypress Studio as you record and edit your test. Studio AI suggests selectors, assertions, and test steps, reducing trial and error.

Learn more

  • Transparent Debugging
    Every AI-generated step appears in the Command Log with full time-travel debugging. Cached runs execute as quickly as hand-written tests.

Learn more

Visual Debugging

Debug failures directly in the browser

  • Time Travel
    Time travel to see your application’s behavior during test execution step-by-step. Hover over commands to see which elements Cypress acted upon.

Learn more

  • Live Reload
    Watch commands execute and your application under test side-by-side and in real time. Tests automatically re-run on file save for instant feedback.

Learn more

  • Native Browser Inspection
    Continue using built-in browser tools that you know and love while your tests run. There’s no fidelity loss.

Learn more

  • Screenshots & Videos
    Understand why something failed with automatic DOM snapshots and videos of a full test spec run.

Learn more

Flake Resistance

Eliminate flaky tests with ease

  • Automatic Waiting
    Cypress automatically waits for commands and assertions before moving on.

Learn more

  • Test Retries
    Cypress wraps all DOM queries with robust retry-and-timeout logic to minimize false negatives/positives.

Learn more

  • Test Isolation
    Cypress reduces flaky test results by isolating the state of each test and ensuring more trustworthy results.

Learn more

  • Flake Detection
    Cypress automatically retries failed tests to mitigate flaky tests from failing entire test runs.

Learn more

Loved by OSS, trusted by Enterprise

Cypress is proud to support developers all around the world by making it easier to build and test modern applications.

  • 6M+ Weekly downloads
  • 49K+ GitHub stars
  • 1.5M+ Dependent repositories

Steve Clay
@mrclay_org

Whoa @Cypress_io is just so impressive and writing tests is a surprising delight.

PRADEEP KUMAR VERMA
@ErpradeepVerma

One of the most user-friendly, no-frills and feature-rich automation tools I have worked upon.

Stephen Callender
@sjcallender

Why deploy on Fridays? We do at @fostercommerce. Why? Because @Cypress_io.

Test your code, not your patience

Install Cypress in seconds on Mac, Linux, or Windows and embrace the future of testing modern applications.

Install Cypress

Learn Cypress

Integrate with CI

Cypress Cloud