Playwright vs Cypress vs Selenium: Choosing a Framework Your Team Can Maintain

The right choice in Playwright vs Cypress vs Selenium depends on what you build. Playwright is usually the best pick for new web projects tested in many browsers. JavaScript teams who want easy debugging and don’t need Safari tend to prefer Cypress. Real Safari testing, less common programming languages and large existing suites keep Selenium in the running.

Whichever framework you pick will click through your app like a customer before every release, often for years. A good fit quietly catches broken features, while a poor one fails at random and keeps engineers fixing tests instead of the product. Playwright and Cypress also changed a lot in 2025 and 2026, so advice written a few years ago can steer you wrong.

We see both outcomes up close in our test automation work at QAwerk. Some clients come to us after their tests have started failing at random, while others have no automated checks at all. In both cases, the best choice is a framework their team can keep running.

Below, we compare the three tools and show what each costs to maintain over time. If you already run Selenium, you’ll also see when switching is worth the effort.

Playwright vs Cypress vs Selenium at a Glance

Playwright, Cypress and Selenium are all open source, free to use and able to test a modern web app. The differences only show up later, once your product has hundreds of automated checks, known together as a test suite. The table compares the details that decide how much work that suite will take to keep running.

Playwright vs Cypress vs Selenium: What Sets Them Apart
Playwright
Cypress
Selenium

Programming languages

Playwright

JavaScript, TypeScript, Python, Java, C#

Cypress

JavaScript and TypeScript only

Selenium

Java, Python, C#, Ruby, JavaScript, Kotlin

Browsers for cross browser testing

Playwright

Chrome, Edge, Firefox and WebKit, the engine behind Safari

Cypress

Chrome, Edge, Firefox; WebKit is experimental

Selenium

Chrome, Edge, Firefox, Safari

How it works

Playwright

Talks to the browser directly, from outside

Cypress

Runs inside the browser, next to your app

Selenium

Sends commands through WebDriver, an official web standard

Running many tests at once

Playwright

Built in and free

Cypress

Through Cypress Cloud, the company’s hosted service

Selenium

Through Selenium Grid, servers you host or rent

Multiple tabs and embedded frames

Playwright

Supported

Cypress

One tab; extra tabs need a plugin; limited frame support

Selenium

Supported

Mobile

Playwright

Phone screens mimicked in a desktop browser; experimental Android support

Cypress

Phone screen sizes only

Selenium

Real phones through Appium, a companion tool

Finding why a test failed

Playwright

Trace Viewer replays every step of a failed run

Cypress

Live window that lets you step back through a test

Selenium

Logs and screenshots your team sets up

Maturity and community

Playwright

Youngest, backed by Microsoft

Cypress

Large community of front-end developers

Selenium

Oldest, with the biggest pool of experienced testers

Best fit

Playwright

New web projects and mixed-language teams

Cypress

JavaScript teams testing websites and web apps

Selenium

Big existing suites, real Safari, mobile apps

Playwright vs Selenium

Playwright and Selenium both drive the browser from the outside, much like a remote control. Selenium sends its commands through WebDriver, an official web standard that every major browser supports. Playwright, built by Microsoft, talks to browsers more directly.

In daily work, the biggest difference in Playwright vs Selenium is how each tool waits. A web page loads in pieces, so a test that tries to click a button too early can fail even though nothing is broken. Playwright checks that the button is visible, steady and ready and only then clicks. Selenium doesn’t wait by default, so testers write those checks by hand. A single missed check can turn into a flaky test, one that passes and fails at random on the same code.

Selenium’s advantage is reach. Its tests can be written in six languages, including Ruby, which Playwright doesn’t support. Apple also ships a Selenium driver with Safari, so your checks run in the same browser your customers open. Playwright tests WebKit instead, the engine inside Safari. That engine catches most of the same bugs, though a few slip through.

Playwright can also test desktop apps built with the same technology as websites, which matters if your product has one. On Granola, an AI notepad for macOS and Windows, we wrote the automated checks in Playwright and TypeScript. That one framework covered both operating systems, and our engineers automated 76% of Granola’s regression suite, which confirms old features still work after each update.

Cypress vs Playwright

Unlike the other two frameworks, Cypress runs inside the browser, right next to your app. Because of that design, developers get a live window where they can watch each step and jump back to see the page exactly as it looked at that moment. For someone fixing a broken test on their own laptop, few tools feel as friendly.

The same design also sets limits, which Cypress lists openly in its own documentation:

  • One tab at a time: Pop-ups and extra tabs need a plugin, which works only in Chrome-family browsers.
  • Embedded frames: Cypress calls its support limited for iframes, the boxes that show one page inside another, such as a payment form.
  • Other websites: A test that leaves your site, for example to sign in with Google, needs a special command.
  • Safari: Testing in WebKit is still experimental.

Playwright avoids all four limits, mostly because it controls the browser from outside. For tracking down failures, its Trace Viewer records every step of a run with screenshots and network activity. A test that broke overnight on a shared server can then be replayed the next morning as easily as one run on a laptop.

The gap that remains in the Cypress vs Playwright choice is cost, which grows with your suite. Playwright runs many tests at once for free, while Cypress needs its Cloud service for that. The service’s free plan caps monthly test results, so a busy suite soon needs a paid one.

Are your tests costing more than they save?
Hire Us

Selenium vs Cypress

Selenium vs Cypress is mostly a choice between reach and comfort. Over more than a decade as the industry default, Selenium has come to offer the most programming languages and to work with almost any browser or setup. Through Appium, a companion tool built on the same WebDriver standard, that reach even extends to apps installed on an iPhone or Android phone. Neither Playwright nor Cypress can test those apps.

Selenium pays for that reach with extra setup and upkeep. Your team has to decide how tests wait for pages and report results, choices that Cypress makes automatically. When those decisions go wrong, teams hit common Selenium testing problems, from pop-ups to content that changes while the page loads.

Cypress offers the opposite trade. A JavaScript developer can install it and see a first test run with little setup, so web teams often write and fix tests themselves. However, that comfort ends at the edge of the browser. Cypress can’t check a mobile app, and Java or Python teams would have to write their tests in JavaScript.

What Each Framework Costs to Maintain After Year One

The frameworks are free to use, and paid extras appear only as a suite grows, such as a Cypress Cloud plan or servers to host Selenium Grid. After the first year, however, most of the bill is your team’s time, and three things decide how much of that time a suite takes:

  • Flaky tests: Each random failure takes someone time to investigate, and once a team stops trusting its tests, people ignore the results. Built-in waiting keeps Playwright and Cypress suites steadier, and both can be set to rerun failed tests automatically, which Selenium leaves to add-on tools. A neglected Selenium suite turns flaky faster, because every waiting step there was added by hand.
  • Upgrades: Selenium is the calmest to keep current, since the project hasn’t had a major release in years. With Playwright’s monthly updates, small regular steps work better than one big jump a year. Cypress 16 shows what a big jump costs: released in September 2026, the new version removed commands that older suites relied on and requires a newer release of Node.js, the software it runs on.
  • Skills on the market: Hiring is easiest for Selenium, which has the longest track record and a large pool of experienced testers. Playwright is newer, but it supports most of the languages those testers already know, so switching rarely means learning a new one. By contrast, Cypress experience sits mostly with web developers who write JavaScript.

AI features now promise to cut some of that upkeep. Playwright’s test agents can plan tests, write them and repair broken ones after a design change. Cypress offers cy.prompt, which turns plain English steps into test commands but is still in beta and needs an account on the company’s Cloud service. Either way, an engineer has to check the results.

Which Tests to Leave Manual

The cheapest test to maintain is one you never automate. On Penpot, an open-source design platform, our team automated the highest-impact regression tests in Playwright but left drag-and-drop and copy-paste flows to manual testers. Playwright doesn’t always handle those actions correctly, so scripted versions would have been unstable. Sign-up stayed manual too, because the flow depends on outside email services.

To see whether your own suite is worth its upkeep, track a few test automation metrics, such as the share of flaky runs and the hours spent fixing tests each month.

Should You Migrate an Existing Selenium Suite?

If you run a Selenium suite, moving to Playwright or Cypress can look like an easy way to cut upkeep. In most cases, the move isn’t worth the effort. A working suite already protects your releases, while a rewrite can take months and adds no new coverage. During those months, your team also maintains two suites at once. Playwright’s documentation, for example, has no guide for moving from Selenium, so every test has to be rebuilt by hand.

A switch starts to pay off once the current suite creates more work than it saves, such as when:

  • Flaky tests eat hours every week and fixes don’t stick
  • Test runs take so long that they hold up releases
  • Nobody left on the team understands the suite well enough to change it
  • Your developers have moved to a language the suite isn’t written in

When a switch is justified, move in stages. New tests go into the new framework, old ones retire as their features change, and both suites keep running until the old one is empty.

How QAwerk Picks a Framework With a New Client

For each client, we settle Playwright vs Cypress vs Selenium by starting from the team’s current setup. The shortlist depends on the product’s technology, the languages its developers use and any tests written so far. After all, a suite only stays healthy when the client’s own team can read it.

On Evolv, an AI platform for running website experiments, the product team already wrote its test scenarios as plain sentences in a tool called CucumberStudio. We kept that habit and built the automation on CodeceptJS and Puppeteer, two tools that fit the existing setup. Our team also wrote a generator for the code that links each scenario to its automated check, so colleagues with little or no coding background could follow along.

When a client already runs Playwright, Cypress or Selenium, our engineers work inside that suite, fixing and extending it. A rewrite comes up only when the framework itself causes the unstable tests or slow releases.

That’s what happened on Union54, a platform that lets fintech companies issue payment cards. The client’s early tests ran on Mocha, a JavaScript tool, and became unstable as the suites grew. After we raised the problem, our team rewrote everything in Cypress and used its automatic retries so that brief network hiccups no longer failed a run. Today the full suite of 1,500 scenarios runs nightly in about an hour and a half.

Not sure which framework your team can keep running? Ask our engineers.

FAQ

Is Playwright better than Selenium?

For most new web projects, yes. Among the Playwright vs Cypress vs Selenium options, Playwright usually takes the least effort to keep running, since it waits for pages to load on its own and runs many tests at once at no extra cost. Selenium still wins when you need real Safari coverage or write tests in a language Playwright lacks, such as Ruby.

Is Cypress faster than Selenium?

The answer depends on what kind of speed you mean. Writing and fixing tests usually goes faster in Cypress, since it waits for page elements automatically and lets developers replay each step in a live browser window. However, a large suite’s total run time hinges on how many tests run at once. Selenium spreads that work across Grid servers, while Cypress relies on its Cloud service.

Can Playwright test mobile apps?

Playwright can’t test native mobile apps, the kind people install from the App Store or Google Play. Instead, the framework imitates a phone’s screen, touch and location inside a desktop browser, which works for checking websites. Real Android devices are supported only experimentally, covering Chrome and web pages shown within apps, and iPhones are left out entirely. For native apps, teams use Appium or the platforms’ own testing tools.

Is Selenium still worth using for new projects?

Yes, Selenium is far from obsolete. The tool is still actively developed, follows WebDriver, an official web standard supported by every major browser, and has the largest pool of experienced testers. Selenium fits a new project best when the same team will also test phone apps through Appium or has years of experience with it. However, Playwright usually needs less setup for a typical new web app.

Which framework produces the fewest flaky tests?

No framework removes flaky tests entirely, and no independent study has compared the three on this point. The tool sets the starting line: Playwright and Cypress wait for page elements on their own, which prevents the most common cause, while Selenium leaves that job to the person writing the test. After that, stability rests on team habits: reliable test data, self-contained tests and prompt fixes.

See how a fintech card-issuing API stabilized its regression suite, automated 90% of endpoints, and kept critical bugs out of production.

Please enter your business email isn′t a business email