Codeceptjs Testing With TestCafe
TestCafe (opens new window) is another alternative engine for driving browsers. It is driven by unique technology which provides fast and simple cross browser testing for desktop and mobile browsers. Unlike WebDriver or Puppeteer, TestCafe doesn't control a browser at all. It is not a browser itself, like Nightmare or Cypress. TestCafe core is a proxy server that runs behind the scene, and transforms all HTML and JS to include code that is needed for test automation. This is very smart idea. But to use TestCafe on daily basis you need to clearly understand its benefits and limitations: Pros Fast . Browser is controlled from inside a web page. This makes test run inside a browser as fast as your browser can render page with no extra network requests. Simple Cross-Browser Support. Because TestCafe only launches browsers, it can automate browser on desktop or mobile. Unlike WebDriver, you don't need special version of browser and driver to prepare to run tests. S...