Cloud Testing September 21, 2026 12 min read

Playwright Workspaces & Azure App Testing: What Changed (2026)

Microsoft renamed its cloud testing service from Playwright Testing to Playwright Workspaces, placing it under the new Azure App Testing umbrella. If you're running Playwright tests in the cloud — or considering it — here's everything that changed: new features, updated pricing, setup walkthrough, and the migration path from the old service.

Playwright has become the dominant end-to-end testing framework, with 52M+ weekly npm downloads, 96.1K GitHub stars, and a 45.1% adoption rate among frontend teams. Over 12,000 companies use it in production. As adoption scaled, so did the demand for cloud-hosted test infrastructure — and Microsoft responded by evolving its cloud offering.

In 2026, what was previously called Playwright Testing became Playwright Workspaces — a rebranded, enhanced service now grouped under Azure App Testing alongside Azure Load Testing. This guide covers everything you need to know about the transition.


What Are Playwright Workspaces?

Playwright Workspaces is Microsoft's managed cloud service for running Playwright tests at scale. It provides cloud-hosted browser grids — Chromium, Firefox, and WebKit — so teams can execute hundreds or thousands of parallel tests without provisioning their own infrastructure.

The rebrand from "Playwright Testing" to "Playwright Workspaces" reflects two strategic moves by Microsoft:

  • Consolidation under Azure App Testing — Microsoft grouped its quality-focused services (Playwright Workspaces + Azure Load Testing) under a single umbrella, making it easier for teams to manage functional and performance testing from one place
  • Workspace-centric architecture — the new name reflects the shift toward isolated, configurable workspaces where teams can manage browser grids, trace storage, and test configurations independently across projects

The core value proposition remains the same: run your existing Playwright tests in the cloud with minimal config changes. You write tests locally, point your playwright.config.ts at the cloud endpoint, and the service handles browser provisioning, parallel execution, and result collection.

Key point: Playwright Workspaces is a cloud execution layer, not a replacement for the open-source Playwright framework. Your tests, locators, and assertions stay exactly the same — only the execution environment changes.

What Changed: Old vs New

Here's a side-by-side comparison of the old Playwright Testing service and the new Playwright Workspaces:

Feature Playwright Testing (Old) Playwright Workspaces (New)
Name Playwright Testing Playwright Workspaces
Azure umbrella Standalone service Azure App Testing
Browser grids Yes Yes + enhanced auto-scaling
AI integration None MCP Server compatible
Pricing model Per-minute Per-minute + workspace tiers
Trace storage 30 days 90 days

The most significant technical improvements are the enhanced auto-scaling (the service now spins up browser instances faster and scales down more aggressively to reduce costs), 90-day trace storage (critical for debugging flaky tests that appear intermittently), and MCP Server compatibility (enabling AI-driven test generation against cloud-hosted browsers).

Key Features of Playwright Workspaces

Playwright Workspaces delivers the cloud infrastructure that teams need for production-scale test execution. Here are the features that matter most:

Parallel execution at scale

Run hundreds of tests simultaneously across cloud-hosted browser instances. The service auto-provisions workers based on your test suite size and tears them down when finished. No idle infrastructure costs.

Built-in trace viewer

Every test run captures a full Playwright trace — screenshots, DOM snapshots, network requests, and console logs. Traces are stored for 90 days and accessible directly from the Azure portal or via API.

Cross-browser cloud grids

Execute tests across Chromium, Firefox, and WebKit without installing browsers locally. The cloud grids always run the latest stable browser versions, eliminating version-mismatch issues.

CI/CD integration

First-class integration with GitHub Actions and Azure DevOps. Pre-built pipeline templates let you add cloud execution to your CI in minutes. Also works with Jenkins, GitLab CI, and any system that can run npx playwright test.

Reporting dashboard

A centralized dashboard shows test results, pass/fail trends, execution times, and flakiness scores. Filter by browser, project, or time range to identify problematic tests quickly.

Geo-distributed testing

Run tests from multiple Azure regions to validate performance and behavior across geographies. Particularly valuable for teams building globally distributed applications where latency affects user experience.

How to Set Up Playwright Workspaces

Getting started with Playwright Workspaces takes about 15 minutes. Here's the step-by-step process:

Step 1: Create an Azure account

If you don't have one, create an Azure account at azure.microsoft.com. The free tier includes 100 browser minutes per month — enough to evaluate the service with a real test suite.

Step 2: Provision a workspace

In the Azure portal, navigate to Azure App TestingPlaywright WorkspacesCreate. Choose your subscription, resource group, region, and workspace name.

Step 3: Install the service package

Terminal
npm install --save-dev @azure/playwright-workspaces

Step 4: Configure playwright.config.ts

playwright.config.ts
import { defineConfig } from '@playwright/test';
import { getConnectOptions } from '@azure/playwright-workspaces';

export default defineConfig({
  use: {
    connectOptions: getConnectOptions(),
  },
  workers: 20, // Scale up — cloud handles parallel execution
  projects: [
    { name: 'chromium', use: { browserName: 'chromium' } },
    { name: 'firefox', use: { browserName: 'firefox' } },
    { name: 'webkit', use: { browserName: 'webkit' } },
  ],
});

Step 5: Set your access token

Terminal
export PLAYWRIGHT_SERVICE_ACCESS_TOKEN="your-token-from-azure-portal"
export PLAYWRIGHT_SERVICE_URL="wss://your-workspace.api.playwright.microsoft.com"

Step 6: Run tests in the cloud

Terminal
npx playwright test

That's it. Your tests now execute on cloud-hosted browsers. Locally, Playwright connects to the remote browser grids via WebSocket — your test code doesn't change at all.

Pro tip: Use environment-based config switching so the same playwright.config.ts works locally (with local browsers) and in CI (with Playwright Workspaces). Check for the PLAYWRIGHT_SERVICE_URL environment variable to decide which mode to use.

Playwright Workspaces vs Self-Hosted CI

Not every team needs cloud browser grids. Here's how to decide between Playwright Workspaces and running tests on your own CI infrastructure:

Factor Playwright Workspaces Self-Hosted CI
Team size Best for 5+ engineers sharing a test suite Fine for solo devs or small teams
Parallel execution Hundreds of workers instantly Limited by CI runner count
Setup time 15 minutes Hours to days (Docker, browsers, deps)
Maintenance Zero — Microsoft manages everything You manage browser updates, containers, scaling
Cost at low volume Free tier covers 100 min/month CI runner cost only
Cost at high volume Per-minute billing adds up Fixed cost, potentially cheaper at scale
Cross-browser Built-in (Chromium, Firefox, WebKit) Requires installing all browsers in CI
Trace storage 90 days, cloud-hosted You manage storage and retention

The sweet spot: Teams with 50–500 tests that need cross-browser coverage and fast feedback loops benefit most from Playwright Workspaces. Smaller teams with Chromium-only testing can often run everything on GitHub Actions or a single CI runner at lower cost.

Pricing: What You'll Pay in 2026

Playwright Workspaces uses a per-minute billing model based on browser execution time, with tiered pricing depending on your plan:

Tier Browser Minutes Cost Best For
Free 100 min/month $0 Evaluation, side projects
Standard Pay-as-you-go ~$0.05/min Small to mid teams (5–20 engineers)
Enterprise Volume discount Custom pricing Large orgs with 1,000+ daily test runs

Ballpark monthly costs

  • Small team (50 tests, 2 browsers, daily) — ~300 browser min/month → ~$15/month
  • Mid team (200 tests, 3 browsers, daily) — ~1,800 browser min/month → ~$90/month
  • Large team (500 tests, 3 browsers, 3x/day) — ~13,500 browser min/month → ~$675/month

Compare this to maintaining your own Docker-based Playwright grid: the infrastructure cost might be lower at high volume, but the engineering time to maintain it often exceeds the Workspaces bill. For most teams, the managed service wins on total cost of ownership.

Watch your minutes: Browser time is counted per browser instance. Running 100 tests across 3 browsers with 20 workers consumes minutes faster than you might expect. Use --shard flags and targeted test runs in CI to keep costs predictable.

Integrating with Claude AI & MCP Server

One of the most powerful patterns in 2026 is combining local AI test generation with cloud-scale execution. Here's how Playwright Workspaces fits into an AI-powered testing workflow:

The hybrid pattern: local AI + cloud execution

  1. Generate tests locally — use Claude AI with the Playwright MCP Server to generate tests against your running application. Claude sees the live DOM, suggests locators, and writes complete test files.
  2. Validate locally — run the generated tests on your machine to confirm they pass. Fix any issues with Claude's help.
  3. Execute at scale in Workspaces — push the tests to CI, where they run across Chromium, Firefox, and WebKit in Playwright Workspaces with 20+ parallel workers.
  4. Debug failures with traces — when a test fails in the cloud, pull the trace from Workspaces and use Claude to analyze the failure and suggest fixes.
Example: environment-aware config
import { defineConfig } from '@playwright/test';

const isCloud = !!process.env.PLAYWRIGHT_SERVICE_URL;

export default defineConfig({
  workers: isCloud ? 20 : 4,
  use: {
    connectOptions: isCloud
      ? getConnectOptions()
      : undefined,
  },
});

This pattern gives you the best of both worlds: Claude's intelligence for test authoring and Playwright Workspaces' infrastructure for execution. Teams using this hybrid approach report 3–5x faster test creation and near-instant feedback on cross-browser compatibility.

Migration Guide: From Playwright Testing to Workspaces

If you were already using the old Playwright Testing service, the migration is straightforward. Here's what changes:

1. Update the npm package

Terminal
# Remove the old package
npm uninstall @azure/playwright-testing

# Install the new package
npm install --save-dev @azure/playwright-workspaces

2. Update imports in playwright.config.ts

Before (old)
import { getConnectOptions } from '@azure/playwright-testing';
After (new)
import { getConnectOptions } from '@azure/playwright-workspaces';

3. Update Azure portal resources

In the Azure portal, your existing Playwright Testing resources will appear under the new Azure App Testing section. No action is required — Microsoft migrates existing resources automatically. Your access tokens and WebSocket endpoints remain the same.

4. Update environment variable names (optional)

The old PLAYWRIGHT_SERVICE_ACCESS_TOKEN and PLAYWRIGHT_SERVICE_URL environment variables still work. Microsoft introduced new aliases (AZURE_PLAYWRIGHT_TOKEN and AZURE_PLAYWRIGHT_URL) but the legacy names are supported indefinitely.

5. Verify CI pipelines

Update any CI pipeline files that reference the old package name. If you use GitHub Actions, update the package install step in your workflow YAML:

.github/workflows/tests.yml
- name: Install dependencies
  run: |
    npm ci
    npx playwright install --with-deps

The npm ci command will pull the new @azure/playwright-workspaces package from your updated package.json. No other pipeline changes are needed.

Migration timeline: Microsoft will support the old @azure/playwright-testing package through December 2026. After that, only the new @azure/playwright-workspaces package will receive updates. Migrate early to get the enhanced features.

Frequently Asked Questions

What is Playwright Workspaces?

Playwright Workspaces is Microsoft's cloud-hosted browser grid service for running Playwright tests at scale. Formerly called Playwright Testing, it's now part of the Azure App Testing umbrella. It provides parallel test execution across Chromium, Firefox, and WebKit without managing your own infrastructure.

Is Playwright Workspaces free?

There's a free tier with 100 browser minutes per month, enough for evaluation or small projects. Beyond that, the Standard tier charges approximately $0.05 per browser-minute. Enterprise pricing with volume discounts is available for large organizations.

How is Playwright Workspaces different from Playwright Testing?

Playwright Workspaces is the rebranded and enhanced version of Playwright Testing. Key improvements include enhanced auto-scaling, 90-day trace storage (up from 30), MCP Server compatibility for AI integration, and placement under the Azure App Testing umbrella alongside Azure Load Testing.

Can I use Playwright Workspaces with Claude AI?

Yes. The recommended workflow is hybrid: generate tests locally using Claude AI with the Playwright MCP Server, then execute at scale in Playwright Workspaces. Claude handles intelligent test authoring while Workspaces handles cross-browser parallel execution.

Do I need Azure to use Playwright?

No. Playwright is a free, open-source framework that runs anywhere — locally, in GitHub Actions, Jenkins, or any CI system. Playwright Workspaces is an optional Azure service for teams that need managed cloud browser grids for massive parallel execution.

Asim Noaman
Asim Noaman
Senior QA Automation Engineer & AI Testing Specialist

Complete Course

Master Playwright — From Local Dev to Cloud Scale

Learn how to build, run, and scale Playwright tests from local development through CI/CD to cloud execution with AI-assisted workflows. Hands-on projects, real-world patterns, and production-grade automation.

  • Playwright Workspaces setup
  • Parallel cloud execution
  • Claude AI + MCP integration
  • CI/CD pipeline automation
Enroll Now on Udemy →