Alternatives to Cypress logo

Alternatives to Cypress

Selenium, TestCafe, Puppeteer, WebdriverIO, and Jest are the most popular alternatives and competitors to Cypress.
2.3K
2K
+ 1
114

What is Cypress and what are its top alternatives?

Cypress is a popular open-source automation testing tool known for its fast and reliable test execution capabilities. It offers features like automatic waiting, real-time reloads, and easy debugging, making it a preferred choice for many developers. However, Cypress has limitations such as lack of support for multiple browser testing and limited support for testing mobile applications.

  1. Selenium: Selenium is a widely used open-source automation testing tool that supports various programming languages and browsers. It provides robust test automation capabilities and is suitable for large-scale projects. However, setting up Selenium can be complex compared to Cypress.
  2. Katalon Studio: Katalon Studio is an all-in-one automation testing tool that integrates various testing frameworks and tools. It offers a user-friendly interface and supports web, API, and mobile testing. One downside is that some advanced features are available only in the paid version.
  3. TestComplete: TestComplete is a comprehensive automation testing tool that supports desktop, web, and mobile applications. It offers features like scriptless test creation and robust object recognition, but it can be expensive for small teams.
  4. Protractor: Protractor is an end-to-end test framework specifically designed for Angular applications. It uses WebDriverJS to automate tests on AngularJS applications and provides built-in support for Angular-specific locators. However, Protractor may not be suitable for non-Angular applications.
  5. TestCafe: TestCafe is a modern open-source automation testing tool that allows testing web applications without WebDriver. It offers features like automatic waiting and built-in parallel testing, but it lacks support for mobile testing.
  6. Robot Framework: Robot Framework is a generic test automation framework for acceptance testing and acceptance test-driven development. It supports keyword-driven test automation and enables easy integration with other tools and libraries. However, its learning curve may be steep for beginners.
  7. Jest: Jest is a delightful JavaScript testing framework with a focus on simplicity and speed. It is suitable for unit testing and offers features like snapshot testing and code coverage analysis. However, Jest is primarily designed for unit testing and may not be suitable for end-to-end testing like Cypress.
  8. Nightwatch.js: Nightwatch.js is an automated testing framework for web applications and websites. It supports end-to-end testing using a simple and powerful API. However, Nightwatch.js may have a steeper learning curve compared to Cypress.
  9. Playwright: Playwright is a tool for automating browsers that provides fast, reliable, and capable automation for modern web apps. It supports multiple browsers and devices, and offers powerful automation features. However, Playwright is relatively new compared to Cypress, and its ecosystem may still be evolving.
  10. Puppeteer: Puppeteer is a Node library which provides a high-level API over the Chrome DevTools Protocol. It is suitable for controlling headless Chrome or Chromium over the DevTools protocol, and offers features like taking screenshots and generating PDFs. However, Puppeteer is more low-level compared to Cypress and may require more advanced programming skills.

Top Alternatives to Cypress

  • Selenium
    Selenium

    Selenium automates browsers. That's it! What you do with that power is entirely up to you. Primarily, it is for automating web applications for testing purposes, but is certainly not limited to just that. Boring web-based administration tasks can (and should!) also be automated as well. ...

  • TestCafe
    TestCafe

    It is a pure node.js end-to-end solution for testing web apps. It takes care of all the stages: starting browsers, running tests, gathering test results and generating reports. ...

  • Puppeteer
    Puppeteer

    Puppeteer is a Node library which provides a high-level API to control headless Chrome over the DevTools Protocol. It can also be configured to use full (non-headless) Chrome. ...

  • WebdriverIO
    WebdriverIO

    WebdriverIO lets you control a browser or a mobile application with just a few lines of code. Your test code will look simple, concise and easy to read. ...

  • Jest
    Jest

    Jest provides you with multiple layers on top of Jasmine.

  • Protractor
    Protractor

    Protractor is an end-to-end test framework for Angular and AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would. ...

  • Juniper
    Juniper

    It provides high-performance networking & cybersecurity solutions to service providers, enterprise companies & public sector organizations. ...

  • Mocha
    Mocha

    Mocha is a feature-rich JavaScript test framework running on node.js and the browser, making asynchronous testing simple and fun. Mocha tests run serially, allowing for flexible and accurate reporting, while mapping uncaught exceptions to the correct test cases. ...

Cypress alternatives & related posts

Selenium logo

Selenium

15.4K
12.3K
525
Web Browser Automation
15.4K
12.3K
+ 1
525
PROS OF SELENIUM
  • 175
    Automates browsers
  • 154
    Testing
  • 101
    Essential tool for running test automation
  • 24
    Record-Playback
  • 24
    Remote Control
  • 8
    Data crawling
  • 7
    Supports end to end testing
  • 6
    Easy set up
  • 6
    Functional testing
  • 4
    The Most flexible monitoring system
  • 3
    End to End Testing
  • 3
    Easy to integrate with build tools
  • 2
    Comparing the performance selenium is faster than jasm
  • 2
    Record and playback
  • 2
    Compatible with Python
  • 2
    Easy to scale
  • 2
    Integration Tests
  • 0
    Integrated into Selenium-Jupiter framework
CONS OF SELENIUM
  • 8
    Flaky tests
  • 4
    Slow as needs to make browser (even with no gui)
  • 2
    Update browser drivers

related Selenium posts

Kamil Kowalski
Lead Architect at Fresha · | 28 upvotes · 3.9M views

When you think about test automation, it’s crucial to make it everyone’s responsibility (not just QA Engineers'). We started with Selenium and Java, but with our platform revolving around Ruby, Elixir and JavaScript, QA Engineers were left alone to automate tests. Cypress was the answer, as we could switch to JS and simply involve more people from day one. There's a downside too, as it meant testing on Chrome only, but that was "good enough" for us + if really needed we can always cover some specific cases in a different way.

See more
Benjamin Poon
QA Manager - Engineering at HBC Digital · | 8 upvotes · 1.9M views

For our digital QA organization to support a complex hybrid monolith/microservice architecture, our team took on the lofty goal of building out a commonized UI test automation framework. One of the primary requisites included a technical minimalist threshold such that an engineer or analyst with fundamental knowledge of JavaScript could automate their tests with greater ease. Just to list a few: - Nightwatchjs - Selenium - Cucumber - GitHub - Go.CD - Docker - ExpressJS - React - PostgreSQL

With this structure, we're able to combine the automation efforts of each team member into a centralized repository while also providing new relevant metrics to business owners.

See more
TestCafe logo

TestCafe

191
273
26
A Node.js tool to automate end-to-end web testing
191
273
+ 1
26
PROS OF TESTCAFE
  • 8
    Cross-browser testing
  • 4
    Open source
  • 4
    Easy setup/installation
  • 4
    Built in waits
  • 3
    UI End to End testing
  • 2
    Supports Devices without extra software/package
  • 1
    Both client and server side debug
CONS OF TESTCAFE
  • 9
    No longer free

related TestCafe posts

What tools will be a good fit for the AngularJS application? I am experienced in Selenium WebDriver with Java. Any suggestion for Selenium or TestCafe?

See more
Puppeteer logo

Puppeteer

585
569
26
Headless Chrome Node API
585
569
+ 1
26
PROS OF PUPPETEER
  • 10
    Very well documented
  • 10
    Scriptable web browser
  • 6
    Promise based
CONS OF PUPPETEER
  • 10
    Chrome only

related Puppeteer posts

Raziel Alron
Automation Engineer at Tipalti · | 7 upvotes · 2M views

Currently, we are using Protractor in our project. Since Protractor isn't updated anymore, we are looking for a new tool. The strongest suggestions are WebdriverIO or Puppeteer. Please help me figure out what tool would make the transition fastest and easiest. Please note that Protractor uses its own locator system, and we want the switch to be as simple as possible. Thank you!

See more

I work in a company building web apps with AngularJS. I started using Selenium for tests automation, as I am more familiar with Python. However, I found some difficulties, like the impossibility of using IDs and fixed lists of classes, ending up with using xpaths most, which unfortunately could change with fixes and modifications in the code.

So, I started using Puppeteer, but I am still learning. It seems easier to find elements on the webpage, even if the creation and managing of arrays of elements seem to be a little bit more complicated than in Selenium, but it could be also due to my poor knowledge of JavaScript.

Any comments on this comparison and also on comparisons with similar tools are welcome! :)

See more
WebdriverIO logo

WebdriverIO

341
505
40
Webdriver/Selenium 2.0 JavaScript bindings for Node.js
341
505
+ 1
40
PROS OF WEBDRIVERIO
  • 11
    Various integrations to vendors like Sauce Labs
  • 10
    Open Source
  • 8
    Great community
  • 7
    Easy to setup
  • 4
    Best solution for broad browser support
CONS OF WEBDRIVERIO
  • 8
    High maintenance

related WebdriverIO posts

Raziel Alron
Automation Engineer at Tipalti · | 7 upvotes · 2M views

Currently, we are using Protractor in our project. Since Protractor isn't updated anymore, we are looking for a new tool. The strongest suggestions are WebdriverIO or Puppeteer. Please help me figure out what tool would make the transition fastest and easiest. Please note that Protractor uses its own locator system, and we want the switch to be as simple as possible. Thank you!

See more
Kevin Roulleau
QA Engineer Freelance at happn · | 5 upvotes · 989.8K views

I chose WebdriverIO and Appium to implement a E2E tests solution on a native mobile app. WebdriverIO goes well beyond just implementing the Selenium / Appium protocol and allows to run tests in parallel out of the box. Appium has the big advantage of supporting iOS and Android platforms, so the test codebase and tools are exactly the same, which greatly reduces the learning curve and implementation time.

See more
Jest logo

Jest

9.2K
3.8K
175
Painless JavaScript Unit Testing
9.2K
3.8K
+ 1
175
PROS OF JEST
  • 36
    Open source
  • 32
    Mock by default makes testing much simpler
  • 23
    Testing React Native Apps
  • 20
    Parallel test running
  • 16
    Fast
  • 13
    Bundled with JSDOM to enable DOM testing
  • 8
    Mock by default screws up your classes, breaking tests
  • 7
    Out of the box code coverage
  • 7
    Promise support
  • 6
    One stop shop for unit testing
  • 3
    Great documentation
  • 2
    Assert Library Included
  • 1
    Built in watch option with interactive filtering menu
  • 1
    Preset support
  • 0
    Can be used for BDD
  • 0
    Karma
CONS OF JEST
  • 4
    Documentation
  • 4
    Ambiguous configuration
  • 3
    Difficult
  • 2
    Many bugs still not fixed months/years after reporting
  • 2
    Multiple error messages for same error
  • 2
    Difficult to run single test/describe/file
  • 2
    Ambiguous
  • 2
    Bugged
  • 1
    BeforeAll timing out makes all passing tests fail
  • 1
    Slow
  • 1
    Reporter is too general
  • 1
    Unstable
  • 1
    Bad docs
  • 1
    Still does't support .mjs files natively
  • 1
    Can't fail beforeAll to abort tests
  • 0
    Interaction with watch mode on terminal

related Jest posts

Robert Zuber

We are in the process of adopting Next.js as our React framework and using Storybook to help build our React components in isolation. This new part of our frontend is written in TypeScript, and we use Emotion for CSS/styling. For delivering data, we use GraphQL and Apollo. Jest, Percy, and Cypress are used for testing.

See more
Shared insights
on
CypressCypressJestJest

As we all know testing is an important part of any application. To assist with our testing we are going to use both Cypress and Jest. We feel these tools complement each other and will help us get good coverage of our code. We will use Cypress for our end to end testing as we've found it quite user friendly. Jest will be used for our unit tests because we've seen how many larger companies use it with great success.

See more
Protractor logo

Protractor

1K
543
33
End-to-end test framework for Angular and AngularJS applications
1K
543
+ 1
33
PROS OF PROTRACTOR
  • 9
    Easy setup
  • 8
    Quick tests implementation
  • 6
    Flexible
  • 5
    Open source
  • 5
    Promise support
CONS OF PROTRACTOR
  • 4
    Limited

related Protractor posts

Raziel Alron
Automation Engineer at Tipalti · | 7 upvotes · 2M views

Currently, we are using Protractor in our project. Since Protractor isn't updated anymore, we are looking for a new tool. The strongest suggestions are WebdriverIO or Puppeteer. Please help me figure out what tool would make the transition fastest and easiest. Please note that Protractor uses its own locator system, and we want the switch to be as simple as possible. Thank you!

See more
Sai Chaitanya Mankala
Tech Lead at KIOT Innovations · | 6 upvotes · 862.2K views

Protractor or Cypress for ionic-angular?

We have a huge ionic-angular app with almost 100 pages and 10+ injectables. There are no tests written yet. Before we start, we need some suggestions about the framework. Would you suggest Cypress or Angular's Protractor with Jasmine / Karma for a heavy ionic app with Angular?

See more
Juniper logo

Juniper

20
16
0
High-performance networking & cybersecurity solutions
20
16
+ 1
0
PROS OF JUNIPER
    Be the first to leave a pro
    CONS OF JUNIPER
      Be the first to leave a con

      related Juniper posts

      Mocha logo

      Mocha

      8.5K
      2.8K
      430
      Simple, flexible, fun javascript test framework for node.js & the browser
      8.5K
      2.8K
      + 1
      430
      PROS OF MOCHA
      • 137
        Open source
      • 102
        Simple
      • 81
        Promise support
      • 48
        Flexible
      • 29
        Easy to add support for Generators
      • 12
        For browser and server testing
      • 7
        Curstom assertion libraries
      • 5
        Works with Karma
      • 3
        No other better tools
      • 1
        Simple setup
      • 1
        Works with saucelabs
      • 1
        Lots of tutorials and help online
      • 1
        Default reporter is nice, clean, and itemized
      • 1
        Works with BrowserStack
      • 1
        Simple integration testing
      CONS OF MOCHA
      • 3
        Cannot test a promisified functions without assertion
      • 2
        No assertion count in results
      • 1
        Not as many reporter options as Jest

      related Mocha posts

      Anurag Maurya

      Needs advice on code coverage tool in Node.js/ExpressJS with External API Testing Framework

      Hello community,

      I have a web application with the backend developed using Node.js and Express.js. The backend server is in one directory, and I have a separate API testing framework, made using SuperTest, Mocha, and Chai, in another directory. The testing framework pings the API, retrieves responses, and performs validations.

      I'm currently looking for a code coverage tool that can accurately measure the code coverage of my backend code when triggered by the API testing framework. I've tried using Istanbul and NYC with instrumented code, but the results are not as expected.

      Could you please recommend a reliable code coverage tool or suggest an approach to effectively measure the code coverage of my Node.js/Express.js backend code in this setup?

      See more

      I use both mocha and Jest because:

      • I don't care whether teams use Jest or Mocha. But jest is way too overhyped. Most devs are writing integration tests and think that it's so much better but frankly I don't write integration tests as the way to get both design feedback and confidence when I code. I adhere to the test pyramid, not ice cream cone or the dumb "trophy"

      • I TDD, so I only ever use the "API" of test frameworks. I don't do a lot of integration tests for TDD and all the bells and whistles Jest provides you from the command-line I just don't need. And I certainly do not care about or touch Jest Snapshots, I despise them

      • My tests are fast enough because I write isolated tests with TDD, so I don't run into performance issues. Example: I write my tests in a way that I can run 300 tests in literally 1 second with mocha. So the Jest ability to pinpoint and only run those tests which are affected by code changes. I want to run all of them every time when I TDD. It's a different mindset when you TDD

      • I also mainly code in IntelliJ or WebStorm because I feel the tools in that IDE far surpass VSCode and I also love running the test UI runner in it vs. lousy command-line

      • I feel both mocha and Jest read just fine in terms of code readability. Jest might have shorter assertion syntax but I don't really care. I just care that I can read the damn test and my tests are written well and my test descriptions, as well as the code itself including constants represent business language, not technical. I care most about BDD, clean code, 4 rules of simple design, and SOLID

      • I don't like using mock frameworks so no I don't use Jest's Mocking framework. I don't have to mock a lot in my tests due to the nature of how I strive to code...I keep my design simple and modular using principals such as clean code and 4 rules of simple design. If I must mock, I create very simple custom mocks with JS

      • On the contrary to the belief that integration tests and mount are the way to go (this belief drives me absolutely crazy, especially Dodd's promoting that), I TDD with shallow & enzyme. My tests are simple. My design is driven by my tests and my tests give me quick and useful feedback. I have a course I'm working on coming out soon on TDD with React to show you how to truly test the FE and why the ice cream cone and trophy suck (you're being scammed people). Watch for that here: https://twitter.com/DaveSchinkel/status/1062267649235791873

      Don't forget to upvote this post!

      Mocha Jest JavaScript React @jsdom Enzyme #tdd #bdd #testdrivendevelopment

      See more