Playwright Testing

Playwright testing in the cloud, in parallel.

TestMu AI runs your existing Playwright tests on cloud browsers: Chrome, Microsoft Edge, Chromium, Firefox and WebKit on Windows and macOS, plus 100+ real Android devices. You point Playwright at a WebSocket endpoint and keep your test code. Tests run in parallel sessions, and each test can record a video, a network log and a console log.

Start free

Free plan: 100 lifetime minutes with 2 parallel sessions, no credit card required.

  • Built for
  • Developers
  • SDETs
  • Front-end teams
  • DevOps
Kane CLI exporting a natural language flow as Playwright code in the terminal
playwright · checkout suitesample run · paid plan
  1. ›connectwss endpoint · 3 parallel sessionsDONE
  2. ›chromecart.spec.js · Windows 10PASS
  3. ›edgecart.spec.js · Windows 11PASS
  4. ›chromeauth.spec.js · macOS SonomaFAIL
1 FAILvideo · network log · console log

Trusted by 3M+ users globally at

Microsoft
OpenAI
Nvidia
Boomi

"We have tripled our tests and are now executing tests in less than 2 hours with 78% Faster Test Execution"

Hrishi Potdar, Quality Engineering Architect

Boomi
GitHub
Best Egg

"We figured out a more efficient way to monitor system health and resolve failures earlier in lower environments."

Tenny, Engineering Operations Lead

Best Egg
Workday
Akamai
Louis Vuitton
NBCUniversal
City Furniture

"TestMu AI has significantly boosted our testing speed, is easy to implement, and provides exceptional support."

Nicholas Paulsen, Senior Quality Engineer

City Furniture
Cox
Transavia

"With 70% faster test execution, TestMu AI helped us achieve faster time-to-market and enhanced CX."

Daniel de Bruijn, Quality Assurance Automation Engineer

Transavia
Estée Lauder
TripAdvisor
boohoo

Playwright on TestMu AI at a glance

Free plan: 100 lifetime minutes, 2 parallel sessions, no credit card · Web Automation on Desktop, all operating systems: $99/month, or $79/month billed annually

What it is
A cloud grid that runs the Playwright tests you already have, with no browsers or machines to maintain
Playwright versions
v1.15.0 through the latest release
Browsers
Chrome, MicrosoftEdge, pw-chromium, pw-firefox, pw-webkit
Operating systems
Windows and macOS versions (the OS values shown in the Playwright docs)
Geolocation
53+ geographies via the geoLocation capability
Real devices
100+ real Android devices (Chrome for Android); real iPhones and iPads in Beta, enabled on request by your account team
Languages
JavaScript/Node.js, TypeScript, Python, Java, C#
Connect
chromium.connect() to wss://cdp.lambdatest.com/playwright, Playwright Test runner projects, or the Playwright Node SDK with no code changes
Per-test evidence
Video, network log, console log and pass or fail status on the Automation Dashboard
Billing unit
Parallel browser sessions: one parallel test is one browser session (pricing FAQ)
Pricing
Free: 100 lifetime minutes, 2 parallel sessions, no credit card. Web Automation on Desktop, all operating systems: $99/month, or $79/month billed annually. See TestMu AI pricing plans.

How do you run Playwright tests in the cloud on TestMu AI?

  1. Connect a script with chromium.connect

    Connect a Playwright script to the TestMu AI grid through the CDP WebSocket endpoint wss://cdp.lambdatest.com/playwright, with a capabilities object that sets the browser, version and OS. Credentials come from the LT_USERNAME and LT_ACCESS_KEY environment variables, and the endpoint keeps its LambdaTest hostname. The code appears with the comparison table below; the full walkthrough is the first Playwright test on TestMu AI.

  2. Keep the Playwright Test runner

    Each cloud target becomes a project in playwright.config, named browserName:browserVersion:platform@lambdatest (for example chrome:latest:MacOS Catalina@lambdatest). Add the lambdatest-setup.js fixture from the sample repo to your project root, and your specs import test from ../lambdatest-setup instead of @playwright/test. Full walkthrough: Playwright Test runner setup on TestMu AI.

  3. Run the Playwright Node SDK with no code changes

    Install @lambdatest/playwright-node-sdk, run npx playwright-node-sdk --init to create lambdatest.yml (credentials, platforms and tunnel settings), then run npx playwright-node-sdk playwright test. The SDK generates a temporary Playwright config that connects to the grid, passes any Playwright CLI option through, and sends video, screenshots, network logs and console logs to the Automation Dashboard. A playwrightConfigOptions block can override testDir, testMatch and use.baseURL for cloud runs. Reference: Playwright SDK on TestMu AI.

How do you run Playwright tests in parallel in the cloud?

  1. Parallel sessions set the limit

    On TestMu AI, Playwright parallelism is set by your plan's parallel sessions, not by the CPU of your CI machine. Each concurrent Playwright browser session counts against your plan: the pricing FAQ says one parallel test is one browser session. The free plan includes 2.

  2. Raise Playwright workers

    Set workers in playwright.config, or pass npx playwright test --workers 4. fullyParallel: true also runs the tests inside one file in parallel (Playwright parallelism docs).

  3. Use a capabilities array

    One capabilities entry per browser and OS runs the same script on several configurations at once. The docs run Chrome on Windows 10, Edge on Windows 11 and Chrome on macOS Sonoma together (Run Tests in Parallel).

  4. Orchestrate large suites with HyperExecute

    HyperExecute, TestMu AI's AI Test Orchestration platform, splits a Playwright suite across just-in-time VMs, for suites where CI time is the bottleneck. See Playwright with HyperExecute.

Which browsers, operating systems, locations and devices does TestMu AI support for Playwright?

  • Five browser choices for Playwright

    Playwright v1.15.0 through the latest release, on Google Chrome, Microsoft Edge, and Playwright's bundled Chromium (pw-chromium), Firefox (pw-firefox) and WebKit (pw-webkit). Browser, version and OS are set per test in LT:Options.

  • Windows and macOS versions

    Tests run on Windows and macOS versions, so WebKit runs on macOS rather than only in a Linux container.

  • Geolocation from 53+ geographies

    Set 'geoLocation': 'US' in LT:Options to run a test from another country and check region-specific pricing, consent banners and redirects. All capability keys: Playwright capabilities on TestMu AI.

  • 100+ real Android devices

    Chrome for Android on real devices, from Node.js, Java, C# or Python. See Playwright on real Android devices.

  • Real iPhones and iPads (Beta)

    Playwright testing on real iOS devices is in Beta. Your account team turns on the feature flag for your organization on request. See Playwright on real iOS devices.

  • Five documented languages

    JavaScript/Node.js, TypeScript, Python, Java and C#.

Playwright on your own CI runners vs Playwright on TestMu AI

Playwright · chromium.connect
const { chromium } = require('playwright')

;(async () => {
  const capabilities = {
    'browserName': 'Chrome', // Browsers allowed: `Chrome`, `MicrosoftEdge`, `pw-chromium`, `pw-firefox` and `pw-webkit`
    'browserVersion': 'latest',
    'LT:Options': {
      'platform': 'Windows 10',
      'build': 'Playwright Sample Build',
      'name': 'Playwright Sample Test',
      'user': process.env.LT_USERNAME,
      'accessKey': process.env.LT_ACCESS_KEY,
      'network': true,
      'video': true,
      'console': true
    }
  }

  const browser = await chromium.connect({
    wsEndpoint: `wss://cdp.lambdatest.com/playwright?capabilities=${encodeURIComponent(JSON.stringify(capabilities))}`
  })

  const page = await browser.newPage()
  await page.goto('https://duckduckgo.com')
  // ...your test steps and assertions...

  await browser.close()
})()

Structure from the first Playwright test on TestMu AI (/support/docs/playwright-testing/). The full docs example also searches DuckDuckGo, asserts the page title and reports pass or fail with lambdatest_action: setTestStatus.

Self-hosted Playwright compared with Playwright on TestMu AI
What mattersSelf-hosted: CI runners or your own gridPlaywright on TestMu AI
License costFree (Apache-2.0)Playwright stays free; you pay for parallel sessions (free plan: 100 lifetime minutes, 2 parallel)
WebKit coverageUsually Linux WebKit builds inside containersWebKit on macOS, plus Chrome and Edge on Windows
Browser and OS matrixWhatever your runner images contain; you update themWindows and macOS versions chosen per test in LT:Options
GeolocationYour own proxies or VPN53+ geographies via geoLocation
Real mobile devicesEmulation via Playwright devices, or your own device lab100+ real Android devices; real iOS devices in Beta (enabled on request)
More parallelismBigger or more runnersMore parallel sessions on your plan
Debug evidenceYou upload artifacts from CI yourselfVideo, network and console logs per test on the Automation Dashboard
Testing localhost or stagingDirect network accessTestMu AI Tunnel
Broken locatorsFixed by handOptional autoHeal: true capability
MaintenanceYou patch browsers, OS images and runnersTestMu AI maintains browsers and machines

Playwright is free and open source under the Apache-2.0 license, and it runs well on a CI runner. Moving the same tests to TestMu AI changes the browser matrix, devices, parallel capacity and debug evidence; the license stays the same. Self-hosting is the better choice for small suites that only need Chromium on Linux, for teams with spare CI capacity and no need for macOS WebKit, Edge on Windows, geolocation or real devices, and for regulated environments where test traffic may not leave your network.

Auto-heal locators, test localhost and debug failed Playwright tests

NeedHow it works on TestMu AI
Broken locatorPass the capability autoHeal: true. At runtime TestMu AI detects a locator that broke after a UI change and generates a new one, so the test continues instead of failing. Auto-healing reduces flaky failures from UI drift, but it does not replace fixing your selectors: review the healed locators and update your code. Setup guide: Auto-healing for Playwright.
Localhost or stagingThe TestMu AI Tunnel connects cloud browsers to apps that are not public, such as localhost or a staging site behind a firewall. With chromium.connect, start the tunnel binary and add tunnel: true (and tunnelName when several tunnels run) to LT:Options. With the Playwright Node SDK, set tunnel: true and autostart: true under tunnel_settings in lambdatest.yml, and the SDK starts and stops the tunnel around the run. Setup guide: Local testing with Playwright.
Failed testEach session on the Automation Dashboard shows the test name and ID, the configuration it ran on, test logs and the session video. Set network: true, video: true and console: true in LT:Options to capture network and console logs alongside the video. To mark a test passed or failed from the script, call page.evaluate with the lambdatest_action setTestStatus, as the docs show. For test case management alongside automated runs, see TestMu AI Test Manager. Setup guide: Debugging capabilities for Playwright.

How to choose a cloud for Playwright tests

The right cloud for Playwright tests runs the Playwright you already have, unmodified, and prices clearly by parallel session. Check these six points on any vendor, TestMu AI included.

CheckWhat to askOn TestMu AI
Version supportDoes it support the Playwright version in your package.json?v1.15.0 to the latest release
Real enginesDoes it run WebKit on macOS and Edge on Windows, not only Linux builds?WebKit on macOS; Chrome and Edge on Windows
Connection modelCan you connect without rewriting tests?chromium.connect, Test runner projects, or the SDK
Pricing unitWhat does one parallel session cost, and what does the free plan allow?2 parallel sessions free; $79/month billed annually for all operating systems
Evidence per testCan you open video, network and console logs from a failed run?Video, network and console logs on the Automation Dashboard
Private apps and mobileIs there a tunnel for localhost, geolocation, and real Android or iOS devices if you ship mobile web?TestMu AI Tunnel, 53+ geographies, 100+ real Android devices, real iOS devices in Beta

Comparing hosted options after Microsoft retired its Playwright Testing service on March 8, 2026? TestMu AI's guide to Microsoft Playwright Testing alternatives covers Playwright Workspaces, hosted grids and self-managed CI sharding.

Kane CLI or Playwright?

Use Playwright for coded test suites you maintain, and Kane CLI for plain-English checks without Playwright code. Kane CLI is TestMu AI's testing agent for the terminal and coding agents such as Claude Code and Cursor, and it returns evidence for each check. The two can sit side by side. Comparison: Kane CLI vs Playwright.

ToolUse it for
PlaywrightThe regression suite: coded tests your team writes and maintains
Kane CLIQuick plain-English checks inside a coding agent, with evidence for each check; free to install, and its runs use credits

More Reasons to Love TestMu AI

TestMu AI is a leading agentic AI quality engineering platform, trusted globally, that assures your AI deployments work as intended, safely and securely, across enterprise and real-world conditions.

Users

3M+

Tests

1.5B+

Enterprises

18K+

Countries

132

TestMu AI positioned as a Leader in the 2026 Gartner® Magic Quadrant™

Read Report

TestMu AI recognized in The Forrester Wave™: Autonomous Testing Platforms, Q4 2025

Read Report

Wall of Fame

TestMu AI is the #1 choice for SMBs and enterprises across the globe.

Award badges: TrustRadius Top Rated 2025, SourceForge Leader Spring 2025, Crozdesk Quality Choice 2025, Capterra Shortlist 2022, The Forrester Wave: Autonomous Testing Platforms, Q4 2025

Enterprise-Grade Security

We safeguard your data and AI systems with global security, privacy, responsible AI, and ESG standards.

Security badges: SOC 2 Type II, ISO 27001, ISO 27017, ISO 27701, GDPR, CCPA, HIPAA

Integrations

Works where you work, 120+ integrations with the tools your team relies on.

Integration partner logos

As Seen On

Playwright on TestMu AI: frequently asked questions

How do I run Playwright tests in the cloud?

Set LT_USERNAME and LT_ACCESS_KEY, then connect Playwright to wss://cdp.lambdatest.com/playwright with a capabilities object, using chromium.connect() or Test runner projects. To leave your code untouched, run npx playwright-node-sdk playwright test with a lambdatest.yml file.

Can I run Playwright tests in parallel on TestMu AI?

Yes. Each concurrent Playwright browser session counts against your plan's parallel sessions, and the free plan includes 2. Paid plans add more, and HyperExecute can split large suites across VMs.

Which browsers and devices can I run Playwright tests on?

You can run Playwright tests on Chrome, Microsoft Edge, and Playwright's bundled Chromium, Firefox and WebKit, on Windows and macOS. You can also use 100+ real Android devices and, in Beta (enabled on request), real iPhones and iPads. Playwright v1.15.0 through the latest release is supported.

Is Playwright free? What does running it on TestMu AI cost?

Playwright itself is free and open source under the Apache-2.0 license, including for commercial use. TestMu AI charges for parallel sessions. The free plan gives 100 lifetime minutes with 2 parallel sessions and needs no credit card. All-OS desktop automation costs $99/month, or $79/month billed annually (pricing checked 2026-11-30).

Is TestMu AI the same as LambdaTest for Playwright?

Yes. LambdaTest rebranded as TestMu AI in January 2026. The Playwright endpoint still uses the cdp.lambdatest.com hostname and the environment variables keep the LT_ prefix, so existing LambdaTest Playwright setups keep working.

Can Playwright test mobile apps or mobile browsers on TestMu AI?

Playwright on TestMu AI tests mobile web: Chrome on 100+ real Android devices, and, in Beta (enabled on request), browsers on real iOS devices. Playwright does not automate native mobile apps. For native apps, use Appium on TestMu AI's real device cloud.

Can I run Playwright tests from another country?

Yes. Set the geoLocation capability in LT:Options, for example 'geoLocation': 'US', and TestMu AI runs the test from that geography. 53+ geographies are supported.

What happens when a Playwright locator breaks?

With the autoHeal: true capability, TestMu AI detects the broken locator at runtime and generates a new one so the test keeps running. Review the healed locators and update your selectors afterwards.

Run your Playwright suite on real browsers

Free plan: 100 lifetime minutes, 2 parallel sessions, no credit card required.

Start free

TestMu AI was named a Leader in the 2026 Gartner® Magic Quadrant™ for Agentic Software Quality Assurance Platforms. Gartner, Magic Quadrant for Agentic Software Quality Assurance Platforms, By Ross Power, Sushant Singhal, C.A. Swan, 12 October 2026. Gartner does not endorse any company, vendor, product or service depicted in its publications, and does not advise technology users to select only those vendors with the highest ratings or other designation.