Capybara vs Cypress vs Nightwatchjs

Need advice about which tool to choose?Ask the StackShare community!

Capybara

621
190
+ 1
15
Cypress

2.3K
2K
+ 1
114
Nightwatchjs

171
323
+ 1
11
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Capybara
Pros of Cypress
Pros of Nightwatchjs
  • 12
    Best acceptance test framework for Ruby on Rails apps
  • 2
    Synchronous with Rack::Test
  • 1
    Fast with Rack::Test
  • 29
    Open source
  • 22
    Great documentation
  • 20
    Simple usage
  • 18
    Fast
  • 10
    Cross Browser testing
  • 9
    Easy us with CI
  • 5
    Npm install cypress only
  • 1
    Good for beginner automation engineers
  • 3
    Open source
  • 2
    Testing
  • 2
    Automates browsers
  • 1
    Better cross browser (use selenium)
  • 1
    Cross-Browser Testing
  • 1
    Multiple Browser Support
  • 1
    Parallel Test Running

Sign up to add or upvote prosMake informed product decisions

Cons of Capybara
Cons of Cypress
Cons of Nightwatchjs
  • 1
    Hard to make reproducible tests when using with browser
  • 21
    Cypress is weak at cross-browser testing
  • 14
    Switch tabs : Cypress can'nt support
  • 12
    No iFrame support
  • 9
    No page object support
  • 9
    No multiple domain support
  • 8
    No file upload support
  • 8
    No support for multiple tab control
  • 8
    No xPath support
  • 7
    No support for Safari
  • 7
    Cypress doesn't support native app
  • 7
    Re-run failed tests retries not supported yet
  • 7
    No support for multiple browser control
  • 5
    $20/user/thread for reports
  • 4
    Adobe
  • 4
    Using a non-standard automation protocol
  • 4
    Not freeware
  • 3
    No 'WD wire protocol' support
  • 2
    No automatic wait
  • 1
    Less flexibility
  • 1
    Limited native mobile app support
  • 1
    Limited browser support
  • 1
    Configuration complexity

Sign up to add or upvote consMake informed product decisions

- No public GitHub repository available -

What is Capybara?

Capybara helps you test web applications by simulating how a real user would interact with your app. It is agnostic about the driver running your tests and comes with Rack::Test and Selenium support built in. WebKit is supported through an external gem.

What is Cypress?

Cypress is a front end automated testing application created for the modern web. Cypress is built on a new architecture and runs in the same run-loop as the application being tested. As a result Cypress provides better, faster, and more reliable testing for anything that runs in a browser. Cypress works on any front-end framework or website.

What is Nightwatchjs?

Nightwatch.js is an easy to use Node.js based End-to-End (E2E) testing solution for browser based apps and websites. It uses the powerful Selenium WebDriver API to perform commands and assertions on DOM elements.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Capybara?
What companies use Cypress?
What companies use Nightwatchjs?

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Capybara?
What tools integrate with Cypress?
What tools integrate with Nightwatchjs?

Sign up to get full access to all the tool integrationsMake informed product decisions

Blog Posts

What are some alternatives to Capybara, Cypress, and Nightwatchjs?
Wombat
Automate your store in no time: Wombat is an ecommerce integration platform that quickly connects your storefront with all your favorite 3rd party services. Comprehensive enough for large ecommerce stores and easy enough for small merchants
Cucumber
Cucumber is a tool that supports Behaviour-Driven Development (BDD) - a software development process that aims to enhance software quality and reduce maintenance costs.
Anaconda
A free and open-source distribution of the Python and R programming languages for scientific computing, that aims to simplify package management and deployment. Package versions are managed by the package management system conda.
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.
Quokka
You send great emails but sometimes it gets lost in a user’s inbox. Quokka shows a retargeting message to those who ignored your message so that they will never miss an important update from you.
See all alternatives