WebDriver Architecture
Cypress Architecture
Node Server
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 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)
By Matan Kushner