DevExpress /testcafe

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

★ 9,892⑂ 673👁 157⑃ 3,548● 4,879▤ 434
JavaScriptMITCreated 2015-04-20testcafe.io
Download: v3.7.7v3.7.7 ↓3.7.72026-10-30
+0
Daily
9,892
stars
673
forks
157
watchers
3,548
prs
4,879
issues
434
releases

README

Automate end-to-end web testing with TestCafe, a Node.js-based testing framework.
TestCafe is free and as easy to use as 1-2-3:
1. Write your tests in JS or TypeScript.2. Execute your tests.3. View test results.



  Homepage   •  
  Documentation   •  
  FAQ   •  
  Support


 Works on all popular environments: TestCafe runs on Windows, MacOS, and Linux. It supports desktop, mobile, remote and cloud browsers (UI or headless).
 1 minute to set up: You do not need WebDriver or any other testing software. Install TestCafe with one command, and you are ready to test: npm install -g testcafe
 Free and open source: TestCafe is free to use under the MIT license. Plugins provide custom reports, integration with other tools, launching tests from IDE, etc. You can use the plugins made by the GitHub community or create your own.

!Install TestCafe and Run a Test


Running a sample test in Safari


 Table of contents

 Features
 TestCafe Studio: IDE for End-to-End Web Testing
 Getting Started
 Documentation
 Get Help
 Issue Tracker
 Stay in Touch
 Contributing
 Plugins
 Different Versions of TestCafe
 Badge
 License
 Creators

 Features

Stable tests and no manual timeouts
TestCafe automatically waits for page loads and XHRs before the test starts and after each action.
It also features smart test actions and assertions that wait for page elements to appear.
You can change the maximum wait time.
If elements load faster, tests skip the timeout and continue.

Rapid test development tool
When you enable live mode, changes to test code immediately restart the test, and you instantly see the results.

Latest JS and TypeScript support
TestCafe supports the most recent JavaScript-related features, including ES2017 (async/await). You can also use TypeScript if you prefer a strongly typed language instead.

Detects JS errors in your code
TestCafe reports JS errors that it locates on a given webpage. Tests automatically fail if TestCafe encounters such errors.
You can, however, disable this option.

Concurrent test launch
TestCafe can open multiple instances of the same browser and run parallel tests (to help decrease test execution time).

PageObject pattern support
The TestCafe's Test API includes a high-level selector library, assertions, etc.
You can combine them to implement readable tests with the PageObject pattern.

js
const macOSInput = Selector('.column').find('label').withText('MacOS').child('input');


Easy to include in a continuous integration system
You can run TestCafe from a console, and its reports can be viewed within CI systems (TeamCity, Jenkins, Travis & etc.)

 Love TestCafe Open-source Edition? Want to Record Tests without Writing JavaScript or TypeScript Code?

 TestCafe Studio: IDE for End-to-End Web Testing

TestCafe is the perfect choice for JavaScript developers and experienced Q&A teams. If you’d like to delegate testing to QA engineers and are looking for a code-free way to rec

Top issues

Latest release

v3.7.7 v3.7.7 2026-10-30
What's Changed
 build: fixed vulnerabilities by @Aleksey28 in https://github.com/DevExpress/testcafe/pull/8564
 fix: report setNativeDialogHandler(null) without throwing by @sam-yh in https://github.com/DevExpress/testcafe/pull/8566
 build: updated testcafe-hammerhead by @Aleksey28 in https://github.com/DevExpress/testcafe/pull/8567

 New Contributors
 @sam-yh made their first contribution in https://github.com/DevExpress/testcafe/pull/8566

Full Changelog: https://github.com/DevExpress/testcafe/compare/v3.7.6...v3.7.7

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON