JavaScript

  • Faker: Generate massive amounts of fake data in the browser and node.js
  • Responsively App: A modified web browser that helps in responsive web development.

Playwright

Cypress vs Playwright: Which is best for E2E testing?

Dec 16, 2021

In the end, we decided to go with Playwright, mainly because of its native support for multiple domains, tabs and iFrames.
I will say that I found Cypress' debugging to be more developer-friendly and in general "slicker", but that wasn't enough to make us stay put.

Cypress vs Other Test Runners

Playwright can:

  • opens page as page, not in iframe
  • emulates mobile devices
  • runs against android devices and emulators
  • runs tests that cross domains
  • works with iframes
  • runs tests that span several pages
  • uses idiomatic async/await api which is not chained
  • uses real browser network stack for routing and mocking
  • detects occlusion problems
  • selector expressiveness is unprecedented: https://playwright.dev/docs...
  • tests pages with out-of-process iframes
  • tests Web Workers
  • tests Web Sockets
  • tests Service Workers

Web Automation: Don't Use Selenium, Use Playwright

The killer feature of Playwright is: You can automatically generate tests by opening a web browser and manually running through the steps you want.

Cypress


Children
  1. Jest