On this page
- What are the main browser automation tools?
- How do you write tests in each?
- How do you run and debug tests in each?
- How do you run a headless browser with each?
- Which hosted runners run these tools for you?
- How do results reach a pull request?
- How do coding agents drive each framework?
- Which browsers and platforms does each cover?
- How much do they cost?
- Which browser automation tool should you pick?
- Where does Revyl fit?
- Beyond browser automation: what else Revyl runs
- Sources
- Frequently asked questions
A browser automation tool drives a real browser from code or plain-language steps, so a script, a test suite or an AI agent can open pages, click, type and check the result. The main ones are Playwright, Selenium, Cypress, WebdriverIO and Midscene.js. Revyl is verification infrastructure for cloud agents, with web browsers, iOS simulators, Android emulators and macOS computers, and Atlas as the record of how your app behaves: an agent or a teammate drives a hosted Chrome session with natural-language steps, each run leaves a report, and with proof of changes the pull request gets a verdict. As of November 2026, Revyl's Free plan includes up to 1,200 free device minutes a month on iOS, Android and web, 2 devices at once, with no card and no monthly fee.
Scroll the table sideways to see all 5 columns.
What are the main browser automation tools?
Browser automation tools drive a real browser from code or plain-language steps, for end-to-end tests, scripts and agent workflows. They differ in how you write a test and what sits around the runner.
- Playwright, maintained by Microsoft, is one API for Chromium, Firefox and WebKit in TypeScript, JavaScript, Python, .NET and Java, with its own test runner, trace viewer and agent tooling.
- Cypress is a browser testing app that runs end-to-end, component, API and accessibility tests, with a paid Cypress Cloud for recorded runs and GitHub checks.
- Selenium is the W3C WebDriver project: language bindings, browser drivers fetched by Selenium Manager, and Selenium Grid for remote and parallel runs on machines you host. Its latest stable release is 4.52.0.
- WebdriverIO is a test runner under the OpenJS Foundation that uses WebDriver and WebDriver BiDi for browsers and Appium for mobile apps. Version 10 shipped on October 5, 2026 with
wdio sessionand agent support. - Midscene.js is a vision-based GUI agent and natural-language test framework. It reads screenshots to find elements and plugs into Playwright Test, Rstest or Vitest.
To move an existing Playwright suite to another tool, see Playwright alternatives compared.
How do you write tests in each?
Playwright, Cypress, Selenium and WebdriverIO are code-first. Playwright’s codegen records your actions into code, and its generator agent writes tests from a Markdown plan. Cypress Studio records clicks into Cypress commands, and cy.prompt turns plain language into commands (AI overview). Selenium IDE records and plays back actions, and the scripts themselves use a language binding. WebdriverIO’s browser.act() takes a step written as intent: your own model performs it once, WebdriverIO records the commands and replays them without a model on later runs (home).
Midscene.js is natural-language first. A test is a list of aiAct, aiWaitFor and aiAssert steps in YAML or JavaScript, carried out by the model you configure (home).
How do you run and debug tests in each?
Playwright’s UI Mode runs tests locally with watch mode and lets you step backward and forward through each action, and the Trace Viewer shows a timeline with DOM snapshots, network requests, console logs and screenshots. Cypress open mode shows the Command Log updating live, with time-travel snapshots and console output, and runs recorded to Cypress Cloud get Test Replay. Selenium runs scripts against a local browser or a Grid you start, where each node runs one session per CPU by default. A failing WebdriverIO test leaves a Markdown transcript, screenshots and accessibility snapshots, and the DevTools service can record a trace of every run. Midscene.js writes an HTML report with screenshots, inputs, outputs, errors and a replay for every step.
How do you run a headless browser with each?
A headless browser runs with no window shown, so a CI job can run it on a machine with no display. Playwright’s headless option runs the browser in headless mode, meaning no browser is shown while tests run. Cypress launches browsers headlessly by default when you use cypress run, and --headed shows the window. Selenium, WebdriverIO and Midscene.js drive whatever browser you or your Grid start, so headless mode comes from that browser’s own settings. Hosted runners execute the browser remotely, so no local browser window is required.
Which hosted runners run these tools for you?
- Playwright Workspaces in Azure App Testing runs Playwright tests on cloud-hosted Chromium, WebKit and Firefox, up to 100 parallel tests per workspace.
- BrowserStack advertises 3,500+ real desktop and mobile browser combinations and separately advertises 30,000+ real iOS and Android devices (Live, real-device cloud). It runs Selenium, Playwright, Cypress and Puppeteer tests and has an MCP server.
- Sauce Labs advertises 1000s of desktop browser and OS combinations plus emulators, simulators and real devices; Live Testing is $39 a month billed annually, as of November 2026. Its rivals are compared on our Sauce Labs alternatives page.
- Cypress Cloud records and parallelizes Cypress runs, and WebdriverIO’s mobile documentation lists device clouds such as Sauce Labs, BrowserStack, TestingBot and TestMu AI (formerly LambdaTest) (mobile docs).
- Revyl hosts a Chrome session and runs natural-language tests in it; see below.
How do results reach a pull request?
Cypress Cloud’s GitHub integration posts commit status checks and pull request comments for recorded runs, and Cypress runs in GitHub Actions, CircleCI, GitLab CI, Jenkins and AWS CodeBuild. Playwright documents running in CI with traces kept on the first retry of a failed test, and its HTML report opens with npx playwright show-report (Trace Viewer). WebdriverIO ships services and reporters for clouds, frameworks and CI. Midscene.js reports can deep-link to a failed step from CI notifications or PR comments (running). Selenium supplies WebDriver and Grid; the test framework and CI service you choose can publish results to a pull request.
How do coding agents drive each framework?
Playwright has an official MCP server that works with any MCP client, a CLI it describes as token-efficient for coding agents, and planner, generator and healer agents you install with npx playwright init-agents. Cypress gives agents Cloud MCP to read run results, failures and Test Replay data, plus the Cloud CLI, skills and cypress tap. WebdriverIO offers wdio session, which keeps a session alive between shell commands, and the @wdio/mcp server. Midscene.js no longer ships MCP servers and points agents to its Skills and platform CLIs. Selenium’s documentation includes a guide on using AI coding agents with Selenium.
Which browsers and platforms does each cover?
Playwright runs Chromium, Firefox and WebKit on Linux, macOS and Windows, plus branded Chrome and Edge and emulated mobile viewports (browsers). Cypress runs Chrome-family browsers including Edge, and Firefox, with WebKit as experimental, and officially supports the latest 3 major versions of Chrome, Firefox and Edge. Selenium documents drivers for Chrome, Edge, Firefox, Internet Explorer and Safari. WebdriverIO runs Chrome, Firefox, Safari and Edge, and automates iOS and Android apps through Appium. Midscene.js drives web pages and also Android over adb, iOS through WebDriverAgent, HarmonyOS and desktop apps. For Safari from a Windows machine, see how to test Safari on Windows.
How much do they cost?
As of November 2026, all five have free, open-source software; hosted runs and model or API usage can cost extra. Playwright and Selenium are Apache-2.0, and Cypress, WebdriverIO and Midscene.js are MIT. As of November 2026, Cypress Cloud has a free Starter plan with 10 users and 500 test results a month, and Team is $67 a month billed annually (pricing). Microsoft’s hosted Playwright service is Playwright Workspaces in Azure App Testing, which replaced Microsoft Playwright Testing when it retired on March 8, 2026. Midscene.js users pay the model provider they choose.
Which browser automation tool should you pick?
- Pick Playwright for a new code suite that needs Chromium, Firefox and WebKit, a trace viewer and agent tooling.
- Pick Cypress if you want component tests and end-to-end tests in one interactive runner, with an optional hosted Cloud.
- Pick Selenium if your company standardised on WebDriver, writes tests in Java, C# or Ruby, or wants its own Grid.
- Pick WebdriverIO if one runner should cover your web app, mobile apps and desktop apps.
- Pick Midscene.js if you want natural-language, screenshot-based steps inside an existing Playwright or Vitest suite.
Where does Revyl fit?
Revyl sits beside these frameworks as a hosted option. It runs a web app in a Chrome session streamed to your browser, and its Web tests are natural-language steps where AI finds the elements, run with revyl test run or the GitHub Action. Your app arrives as a registered HTTPS preview URL or a Next.js or Vite bundle Revyl builds (Web builds). Every run produces a report with video, a step timeline, the Web console and request failures, and with proof of changes, the pull request gets a verdict, screenshots and an Open preview link. As of November 2026, Revyl’s Free plan is $0: up to 1,200 free device minutes a month on iOS, Android and web, 2 devices at once, no card. Web browser sessions are $0.05 a minute on Pro, and Web is available on every plan.
Beyond browser automation: what else Revyl runs
- Web: web apps run in a Chrome session streamed to your browser, and Web tests run as natural-language steps from the dashboard,
revyl test runor the GitHub Action. - iOS and Android: mobile builds open on cloud iOS simulators and Android emulators, and workflows run Web tests alongside iOS and Android tests.
- Revyl computers: a Revyl computer is a macOS workspace where an agent builds, runs and tests apps, and a person can watch or step in on the session from the browser. The CLI runs commands and moves files on a Revyl computer, which can also host Web and iOS app sessions, and
runs-on: revyl-macosruns a GitHub Actions job on one. - Atlas: Atlas maps Web, iOS and Android apps the same way, and
revyl explore run --platform webexplores a web app and records what it finds. - Agent access: the MCP server starts an iOS, Android, web or macOS session, and
start_device_sessionadds scroll, select and key tools for Web (MCP tools). - PR verdicts and run reports: mobile reports add device logs and network traffic on iOS and debuggable Android builds (reports), and proof of changes posts a verdict on the pull request.
Sources
Facts were checked against these public pages on November 12, 2026. Spot an error? Email support@revyl.ai and we will correct it.
- Playwright
- Playwright Trace Viewer
- Playwright test options
- Cypress browser launch options
- BrowserStack
- BrowserStack Live
- BrowserStack real-device cloud
- BrowserStack MCP server
- Sauce Labs pricing
- Playwright MCP
- Microsoft Playwright Testing retirement
- Azure App Testing
- Playwright Workspaces quotas
- Cypress FAQ
- Cypress testing types
- Cypress continuous integration
- Cypress Cloud GitHub integration
- Selenium WebDriver
- Selenium Manager
- Selenium Grid getting started
- Selenium downloads
- WebdriverIO mobile platforms
- WebdriverIO v10 release
- Midscene.js Chrome Bridge
- Midscene.js iOS
- Midscene.js Android
- Midscene.js running tests
- Midscene.js repository
- TestMu AI (formerly LambdaTest) rebrand
- Revyl sessions
- Revyl Web builds
- Revyl tests
- Revyl test reports
- Revyl MCP tools reference
- Revyl MCP server
- Revyl Atlas
- Revyl explore CLI
- Revyl proof of changes
- Revyl computers
- Revyl computers in GitHub Actions
- Revyl pricing
- playwright.dev/docs/codegen
- docs.cypress.io/app/ai/overview
- www.selenium.dev/documentation/webdriver/getting_started/install_library
- webdriver.io
- midscenejs.com
- www.selenium.dev/documentation/webdriver/browsers
- playwright.dev/docs/test-ui-mode
- docs.cypress.io/app/core-concepts/open-mode
- www.selenium.dev/documentation/grid
- playwright.dev/docs/test-agents
- www.selenium.dev/documentation
- webdriver.io/docs/ai-agents
- midscenejs.com/mcp
- playwright.dev/docs/browsers
- github.com/cypress-io/cypress
- github.com/microsoft/playwright/blob/main/LICENSE
- www.cypress.io/pricing
- github.com/SeleniumHQ/selenium
Frequently asked questions
What is the best browser automation tool?
It depends on your team. Playwright covers Chromium, Firefox and WebKit with one API in five languages. Cypress fits teams that want component tests and an interactive runner. Selenium fits teams standardised on WebDriver who run their own Grid. WebdriverIO fits teams testing web, mobile and desktop apps with one runner. Midscene.js fits teams that want natural-language steps inside an existing Playwright or Vitest suite.
Are Playwright, Cypress and Selenium free?
Yes, as of November 2026. Playwright and Selenium are Apache-2.0, and the Cypress App, WebdriverIO and Midscene.js are MIT. Cypress sells Cypress Cloud on top, with a free Starter plan and Team at $67 a month billed annually as of November 2026. Midscene.js calls a model provider you choose and pay.
Which framework works best with AI coding agents?
Playwright, Cypress and WebdriverIO provide dedicated agent tooling; Midscene.js provides Skills and CLIs; Selenium documents how to use coding agents with Selenium. Playwright ships an MCP server, a CLI and planner, generator and healer agents. Cypress offers Cloud MCP, a Cloud CLI, skills and cy.prompt. WebdriverIO has wdio session and the @wdio/mcp server. Midscene.js stopped shipping MCP servers after v1.9.8.
Which browser automation tools run a headless browser?
Playwright has a headless option in its test configuration that runs tests with no browser window shown. Cypress launches browsers headlessly by default in cypress run and runs headed with --headed. Selenium, WebdriverIO and Midscene.js can also run against a browser configured for headless mode.
Can these frameworks test mobile apps?
WebdriverIO automates native and hybrid iOS and Android apps through Appium, and Midscene.js drives Android over adb and iOS through WebDriverAgent. Playwright emulates mobile and tablet viewports in the browser. Cypress and Selenium are documented for browsers.
What else does Revyl do?
Browser automation is one part of what Revyl hosts: web apps run in Chrome browser sessions, mobile builds run on cloud iOS simulators and Android emulators, and agents build and test apps in macOS workspaces. Atlas maps Web, iOS and Android apps into one record of the screens and flows Revyl has observed. Coding agents reach these runtimes through the CLI and the MCP server, every test run produces a report, and with proof of changes, Revyl posts a verdict on the pull request.