|
|
|
||
|---|---|---|---|
| Overview | |||
| Architecture | Uses HTTP protocol. Webdriver BiDi will become event-driven. | Cypress is executed in same run loop as your app. Has a node server process that syncs everything. | Playwright uses an event driven architecture. Uses browser debugger APIs. |
|
Web standards Uses W3C compliant web drivers to communicate with browsers |
✅ | ❌ | ❌ |
| Languages | Javascript, Typescript | Javascript, Typescript | Javascript, Typescript, Java, Python, .NET |
| Support for desktop web, mobile web & mobile apps | |||
| Real Browsers & Browser Engines |
Firefox
Edge
|
Firefox
Edge
Webkit Engine (Safari)
|
Firefox
Edge
Webkit Engine (Safari)
|
| Mobile web |
✅ Mobile web is just as easy to setup and supports everything from Desktop web.
|
❌ | ⚠️ Android (experimental) ❌ iOS |
| Mobile apps | ✅ | ❌ | ❌ |
| Writing tests | |||
| Auto-waits and Auto-retries | ✅ | ✅ | ✅ |
| Low/No-Code Recorder | ✅ | ✅ | ✅ |
| Inspector | ✅ | ✅ | ✅ |
| Test Execution | |||
|
Parallelism
on a single machine |
✅ Single & Multiple browsers |
❌ |
✅ Single & Multiple browsers |
|
Parallelism
on CI machine |
✅ | ⚠️ Behind Paywall | ✅ |
| Reporting & Debugging | |||
| In-built reporter Users can view step by step execution of tests with error messages and DOM snapshots at each step |
✅ | ✅ | ✅ |
| Screenshots | ✅ | ✅ | ✅ |
| DOM History | ✅ | ✅ | ✅ |
| Integerations | |||
| VS Code extension | ✅ Try now | ❌ | ✅ |
| Test Runners | Mocha, Cucumber, Ava, Jest | Cypress App |
Java - JUnit
.NET - NUnit, MSTest, xUnit support |
| Reporters |
|
|
|
| Continuous Integration |
|
|
|
| Cloud Test Providers |
|
|
|
| Support for different testing types | |||
| API testing | ✅ | ✅ | ✅ |
| A11y testing | ✅ | ✅ | ✅ |
| Component testing |
|
|
|
| VRT | ✅ | ✅ | ✅ |
| Other Feautes | |||
| Support for test doubles | ✅ | ✅ | ✅ |
| Multi domain testing | ✅ | ✅ | ✅ |
|
Running AUT before testing
Users can start the AUT on specific ports before testing is started |
❌ | ❌ | ✅ |
| Data persistence across tests | ✅ Guide | ✅ | ✅ |