WebDriver Architecture

Cypress Architecture

Node Server

Bootstrapping a new project

Setup with Selenium

Install selenium server or framework

Install browser driver

Install test runner

Install assertion library

Install mocking/stubbing/spying library

Setup with Cypress

Testing with Cypress

Debugging with Cypress

Continuous Integration

Continuous Integration with Cypress

Pros

Cons

All-inclusive testing system

Powerful time-travel debugging

Automatic waits

Built-in function and network mocking

Testing directly on the browser without the need for WebDriver

Allows for parallelization of test suites

No support for cross-browser testing yet (WIP)

Cypress for Automated Testing

By Matan Kushner

Cypress for Automated Testing

  • 1,423