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.
Free plan: 100 lifetime minutes with 2 parallel sessions, no credit card required.
- Built for
- Developers
- SDETs
- Front-end teams
- DevOps

- ›connectwss endpoint · 3 parallel sessionsDONE
- ›chromecart.spec.js · Windows 10PASS
- ›edgecart.spec.js · Windows 11PASS
- ›chromeauth.spec.js · macOS SonomaFAIL
Trusted by 3M+ users globally at
"We have tripled our tests and are now executing tests in less than 2 hours with 78% Faster Test Execution"
"We figured out a more efficient way to monitor system health and resolve failures earlier in lower environments."
"TestMu AI has significantly boosted our testing speed, is easy to implement, and provides exceptional support."
"With 70% faster test execution, TestMu AI helped us achieve faster time-to-market and enhanced CX."
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
geoLocationcapability - 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()towss://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?
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 theLT_USERNAMEandLT_ACCESS_KEYenvironment 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.Keep the Playwright Test runner
Each cloud target becomes a project in playwright.config, named
browserName:browserVersion:platform@lambdatest(for examplechrome: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-setupinstead of@playwright/test. Full walkthrough: Playwright Test runner setup on TestMu AI.Run the Playwright Node SDK with no code changes
Install
@lambdatest/playwright-node-sdk, runnpx playwright-node-sdk --initto create lambdatest.yml (credentials, platforms and tunnel settings), then runnpx 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?
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.
Raise Playwright workers
Set workers in playwright.config, or pass
npx playwright test --workers 4.fullyParallel: truealso runs the tests inside one file in parallel (Playwright parallelism docs).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).
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
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.
| What matters | Self-hosted: CI runners or your own grid | Playwright on TestMu AI |
|---|---|---|
| License cost | Free (Apache-2.0) | Playwright stays free; you pay for parallel sessions (free plan: 100 lifetime minutes, 2 parallel) |
| WebKit coverage | Usually Linux WebKit builds inside containers | WebKit on macOS, plus Chrome and Edge on Windows |
| Browser and OS matrix | Whatever your runner images contain; you update them | Windows and macOS versions chosen per test in LT:Options |
| Geolocation | Your own proxies or VPN | 53+ geographies via geoLocation |
| Real mobile devices | Emulation via Playwright devices, or your own device lab | 100+ real Android devices; real iOS devices in Beta (enabled on request) |
| More parallelism | Bigger or more runners | More parallel sessions on your plan |
| Debug evidence | You upload artifacts from CI yourself | Video, network and console logs per test on the Automation Dashboard |
| Testing localhost or staging | Direct network access | TestMu AI Tunnel |
| Broken locators | Fixed by hand | Optional autoHeal: true capability |
| Maintenance | You patch browsers, OS images and runners | TestMu 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
| Need | How it works on TestMu AI |
|---|---|
| Broken locator | Pass 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 staging | The 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 test | Each 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.
| Check | What to ask | On TestMu AI |
|---|---|---|
| Version support | Does it support the Playwright version in your package.json? | v1.15.0 to the latest release |
| Real engines | Does it run WebKit on macOS and Edge on Windows, not only Linux builds? | WebKit on macOS; Chrome and Edge on Windows |
| Connection model | Can you connect without rewriting tests? | chromium.connect, Test runner projects, or the SDK |
| Pricing unit | What 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 test | Can you open video, network and console logs from a failed run? | Video, network and console logs on the Automation Dashboard |
| Private apps and mobile | Is 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.
Customer results from teams running tests on TestMu AI
Kinectify (Playwright): the fraud detection and AML risk management company moved its suite from WebDriverIO to Playwright and runs it on TestMu AI; 25% of its test cases are now automated. Its CTO, who had used TestMu AI before at Rubbl.io, says: "LambdaTest (now TestMu AI) enables quick & efficient testing across browsers & OS, with valuable logs & video screenshots for debugging & enhancing product quality."
Read the case study →Boomi (Selenium, Cypress and Playwright suites): Boomi added Cypress and Playwright through acquisitions on top of Selenium, and reports 78% faster test execution, 7 hours saved per test cycle and 3x more automated test coverage on TestMu AI. These are platform-wide figures, not Playwright-only ones.
Read the case study →Transavia (platform-wide): Transavia runs its tests 70% faster on TestMu AI after its previous test execution platform was shut down. The case study mentions Selenium, not Playwright.
Read the case study →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.
| Tool | Use it for |
|---|---|
| Playwright | The regression suite: coded tests your team writes and maintains |
| Kane CLI | Quick plain-English checks inside a coding agent, with evidence for each check; free to install, and its runs use credits |
Selenium, Cypress and Puppeteer on the same cloud
- Cypress TestingRun Cypress specs in parallel
- Selenium AutomationSelenium tests on the same grid
- Puppeteer TestingPuppeteer on cloud Chrome
- Automation CloudEvery framework on one Automation Dashboard
Learn Playwright
Buy through a cloud marketplace
Integrations
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 ReportTestMu AI recognized in The Forrester Wave™: Autonomous Testing Platforms, Q4 2025
Read ReportWall of Fame
TestMu AI is the #1 choice for SMBs and enterprises across the globe.

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

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

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.
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.