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 make your own.
Create 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.
Write in latest JSor TypeScript
Detect JS errorsin your code
TestCafe reports JS errors that it finds on the webpage. Tests automatically fail because of that. However, you can disable this.
TestCafe can open multiple instances of the same browser to run parallel tests which decreases test execution time.
Build readable testswith PageObject
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.
const el = Selector('.column').find('label') .withText('MacOS').child('input');
Include tests in continuousintegration system
You can run TestCafe from a console, and its reports can be viewed in a CI system's interface (TeamCity, Jenkins, Travis & etc.)
npm install -g testcafe-live
Do you like TestCafe?
Tweet why to help others decide
Follow us on Twitter
We post TestCafe news and updates, several times a week.
And don't forgetto vote for new features on GitHub.