Nightwatch Playwright
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
Google Chrome Chrome
Google Chrome Firefox
Google Chrome Edge
Google Chrome Safari
Google Chrome Chrome
Google Chrome Firefox
Google Chrome Edge
Google Chrome Webkit Engine (Safari)
Google Chrome Chrome
Google Chrome Firefox
Google Chrome Edge
Google Chrome Webkit Engine (Safari)
Mobile web ✅

Mobile web is just as easy to setup and supports everything from Desktop web.
Get Started

❌ ⚠️ Android (experimental)
❌ iOS
Mobile apps ✅ ❌ ❌
Writing tests
Auto-waits and Auto-retries ✅ ✅ ✅
Low/No-Code Recorder ✅ ✅ ✅
Inspector ✅ ✅ ✅
Test Execution
Parallelism

on a single machine
using CPU cores

✅
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
  • JUnit
  • Mocha
  • Allure
  • HTML
  • JSON
  • Team City
  • Slack
  • JUnit
  • Mocha
  • Team City
  • JUnit
  • In built - List / Line / Dot / JSON
  • Team City
Continuous Integration
  • Github Actions
  • Circle CI
  • GitLab CI
  • Bamboo
  • Azure Pipelines
  • Jenkins
  • GitHub Actions
  • Circle CI
  • GitLab CI
  • Bitbucket Pipelines
  • AWS CodeBuild
  • GitHub Actions
  • Circle CI
  • GitLab CI
  • Docker
  • Bitbucket Pipelines
  • Azure Pipelines
  • Jenkins
Cloud Test Providers
  • BrowserStack
  • Sauce Labs
  • Lambda Test
  • BrowserStack
  • Sauce Labs
  • Lambda Test
  • BrowserStack
  • Sauce Labs
  • Lambda Test
Support for different testing types
API testing ✅ ✅ ✅
A11y testing ✅ ✅ ✅
Component testing
  • React
  • Angular
  • Vue
  • Svelte
  • React
  • Solid
  • Vue
  • Svelt
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 ✅ ✅