talira

TestCafe

A Node.js tool to automate end-to-end web testing

open coreMITfree

TestCafe is DevExpress's free, open source end-to-end testing framework for web apps. It installs as one npm package, needs no WebDriver or browser plugins, and runs JavaScript or TypeScript tests in any common browser, locally, remotely or headless, with automatic waits, multi-window and iframe support, concurrent runs, live mode, quarantine mode for unstable tests, screenshots and videos, API testing and reports in many formats. A Docker image makes it ready for CI. DevExpress also sells TestCafe Studio, a desktop IDE based on it with a visual test recorder.

Problems it solves

  • write end-to-end tests for my web app without setting up WebDriver
  • my browser tests are flaky because of manual timeouts and waits
  • run the same UI tests in Chrome, Firefox, Safari and Edge from one command
  • run end-to-end tests concurrently in CI to make them faster
  • test flows that open multiple browser windows or iframes
  • record a browser test by clicking through my app instead of writing code

Features

  • No WebDriver or browser plugins: one npm package
  • JavaScript and TypeScript tests
  • Runs in common browsers, local or remote, with UI or headless
  • Automatic waiting for page elements
  • Concurrent test runs
  • Multiple browser windows and iframes
  • Live mode and quarantine mode
  • Screenshots and video recording
  • API testing
  • Reports in several formats and a Docker image for CI

Ways to run it

TestCafe

You install it, MIT

free1

Where to get it

TestCafe Studio

You install it, under a commercial licence

Price not published2

Only in this edition

  • a desktop IDE
  • a visual test recorder

Where to get it

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what TestCafe does.

  1. Cypress AI writes the code. Cypress proves it works.
  2. Selenium Automate any browser, from any language.
  3. WebdriverIO Open source test automation for web, mobile and desktop apps
  4. Nightwatch.js Node.js end-to-end testing framework on the W3C WebDriver API
  5. Chromatic Ship flawless UIs with less work
  6. BrowserStack Everything you need for testing, with AI at every step

Compare TestCafe with the top 3