Comparing TestCafe and Selenium
TestCafe, with its 8,000+ stars on GitHub, is gaining a reputation as the 'next big thing' in the test automation world. Let's compare this new challenger with Selenium – a heavyweight leader with almost 18k+ stars that has ruled the industry for more than 15 years.
To start automating with Selenium, you will have to install the WebDriver client for the desired programming language and corresponding drivers for each browser you want your tests to run at. This may sound like an easy thing to do, but it's quite a time-consuming task to just get started with testing and is far from the ideal scenario of the run-one-command simplicity that we're used to with the majority of the packages in the Node.js infrastructure.
TestCafe includes a number of features that would not be possible if TestCafe was built on top of Selenium, such as spawning isolated test environments. Each of the tests performed by TestCafe runs as if...