DevExpress /testcafe
A Node.js tool to automate end-to-end web testing.
★ 9,892⑂ 673👁 157⑃ 3,548● 4,879▤ 434
+0
日增长
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 recTop issues
#8464Testcafe throws js error for latest datatable.js library5 comments · 2025-11-27#5902Document how to use TestCafe in WSL5 comments · 2021-01-28#8549Compatibility issue with latest Workday release: client-side navigation fails, gives Error parsing JSON4 comments · 2026-07-30#7153[docs] Update the Docker article3 comments · 2022-07-12#5854[docs] Extend the 'RequestMock: CORS validation failed for a request specified as <filter rule>' warning2 comments · 2021-01-08#8562Restarting a local Chrome after a disconnect deadlocks for 30 s and then unregisters the relaunched browser when no window descriptor is cached1 comments · 2026-09-28#8546`ws >= 7.5.11` default frame limits silently kill the CDP connection: "WebSocket connection closed", run hangs on a blank page1 comments · 2026-07-17#7896[docs] add documentation for API usage of userVariables1 comments · 2023-07-24
Latest release
v3.7.7 v3.7.7 2026-10-30What'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