Browser automation tools compared for scripts, tests and agents

Revyl Team7 min read

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.

Web E2E testing frameworks at a glance
FeaturePlaywrightCypressSeleniumWebdriverIOMidscene.js
How tests are writtenCode in TypeScript, JavaScript, Python, .NET or Java; codegen records actions[42]Code (Cypress commands); Cypress Studio records interactions; cy.prompt turns plain language into commands[43]WebDriver code in Java, Python, C#, Ruby or JavaScript; Selenium IDE records and plays back[44]Code with one runner, selectors and assertions; browser.act() steps written as intent[45]Natural-language aiAct, aiWaitFor and aiAssert steps in YAML or JavaScript[46]
BrowsersChromium, Firefox and WebKit on Linux, macOS and Windows[1]Chrome-family (including Edge), Firefox, experimental WebKit[4]Chrome, Edge, Firefox, Internet Explorer and Safari drivers[47]Chrome, Firefox, Safari and Edge through WebDriver and WebDriver BiDi[45]Web through Playwright or Chrome Bridge; the agent reads screenshots[46]
Run and debug UIUI Mode with time travel; Trace Viewer with DOM snapshots, network, console and screenshots[48]Open mode with live Command Log, time-travel snapshots and console; Test Replay in Cypress Cloud[49]Selenium Grid runs scripts on remote browsers in parallel[50]Failing tests leave a Markdown transcript, screenshots and accessibility snapshots[45]HTML report with screenshots, inputs, outputs, errors and replay for every step[46]
Agent accessPlanner, generator and healer agents[51]Cloud MCP, Cloud CLI, Cypress skills and cypress tap[43]Documentation guide for using AI coding agents with Selenium[52]wdio session CLI and the @wdio/mcp MCP server[53]Skills and platform CLIs; MCP servers retired after v1.9.8[54]
Beyond webEmulated mobile and tablet viewports in the browser[55]Anything that runs in a browser[56]Web browsers[52]Native and hybrid mobile apps through Appium, desktop apps, VS Code extensions[45]Android, iOS, HarmonyOS and desktop apps[46]
License and priceFree, Apache-2.0, checked 2026-11-12[57]App free, MIT; Cloud Starter free, Team $67/month billed annually, checked 2026-11-12[58]Free, Apache-2.0, checked 2026-11-12[59]Free, MIT; no paid tier, checked 2026-11-12[45]Free, MIT; model API costs are yours, checked 2026-11-12[46]

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 session and 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?

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 run or 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-macos runs a GitHub Actions job on one.
  • Atlas: Atlas maps Web, iOS and Android apps the same way, and revyl explore run --platform web explores a web app and records what it finds.
  • Agent access: the MCP server starts an iOS, Android, web or macOS session, and start_device_session adds 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.

  1. Playwright
  2. Playwright Trace Viewer
  3. Playwright test options
  4. Cypress browser launch options
  5. BrowserStack
  6. BrowserStack Live
  7. BrowserStack real-device cloud
  8. BrowserStack MCP server
  9. Sauce Labs pricing
  10. Playwright MCP
  11. Microsoft Playwright Testing retirement
  12. Azure App Testing
  13. Playwright Workspaces quotas
  14. Cypress FAQ
  15. Cypress testing types
  16. Cypress continuous integration
  17. Cypress Cloud GitHub integration
  18. Selenium WebDriver
  19. Selenium Manager
  20. Selenium Grid getting started
  21. Selenium downloads
  22. WebdriverIO mobile platforms
  23. WebdriverIO v10 release
  24. Midscene.js Chrome Bridge
  25. Midscene.js iOS
  26. Midscene.js Android
  27. Midscene.js running tests
  28. Midscene.js repository
  29. TestMu AI (formerly LambdaTest) rebrand
  30. Revyl sessions
  31. Revyl Web builds
  32. Revyl tests
  33. Revyl test reports
  34. Revyl MCP tools reference
  35. Revyl MCP server
  36. Revyl Atlas
  37. Revyl explore CLI
  38. Revyl proof of changes
  39. Revyl computers
  40. Revyl computers in GitHub Actions
  41. Revyl pricing
  42. playwright.dev/docs/codegen
  43. docs.cypress.io/app/ai/overview
  44. www.selenium.dev/documentation/webdriver/getting_started/install_library
  45. webdriver.io
  46. midscenejs.com
  47. www.selenium.dev/documentation/webdriver/browsers
  48. playwright.dev/docs/test-ui-mode
  49. docs.cypress.io/app/core-concepts/open-mode
  50. www.selenium.dev/documentation/grid
  51. playwright.dev/docs/test-agents
  52. www.selenium.dev/documentation
  53. webdriver.io/docs/ai-agents
  54. midscenejs.com/mcp
  55. playwright.dev/docs/browsers
  56. github.com/cypress-io/cypress
  57. github.com/microsoft/playwright/blob/main/LICENSE
  58. www.cypress.io/pricing
  59. 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.

Revyl Team

Published November 12, 2026