# Azure microsoft playwright testing ts

> Azure microsoft playwright testing ts is an open-source agent skill for developer tools. Runs Playwright tests in parallel on Azure-hosted browsers with portal reporting. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/microsoft/skills/tree/main/.github/plugins/azure-sdk-typescript/skills/azure-microsoft-playwright-testing-ts
- **Repository:** https://github.com/microsoft/skills
- **GitHub stars:** 3,281
- **License:** MIT
- **Skill name:** azure-microsoft-playwright-testing-ts
- **Collection:** https://github.com/microsoft/skills
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools), [browser automation](https://ai-powered.com/categories/browser-automation), [cloud and infrastructure](https://ai-powered.com/categories/cloud-and-infrastructure)
- **Listing updated:** 2026-11-30

## About

This skill guides an agent through connecting an existing Playwright TypeScript test suite to Azure Playwright Workspaces, so the same tests execute on cloud-hosted browsers instead of the local machine. It covers creating a separate service configuration file that wraps the regular Playwright config, selecting the Linux or Windows runner, setting connection timeouts and network exposure, and choosing Microsoft Entra ID or an access token for authentication.

The skill also covers the Azure reporter, which publishes run results to the Azure portal, and sample CI pipelines for GitHub Actions and Azure Pipelines that log in with Azure, pass the service URL in as an environment variable and run tests with a high worker count. It includes a migration table for teams moving from the retired Microsoft Playwright Testing package to the newer scoped package.

Using it requires Node.js with Playwright 1.47 or later (1.57 or later for the Azure reporter), an Azure Playwright Workspace and its service URL, and Azure CLI sign-in or a managed identity for authentication.

## When your agent uses it

> Run Playwright tests at scale using Azure Playwright Workspaces (formerly Microsoft Playwright Testing). Use when scaling browser tests across cloud-hosted browsers, integrating with CI/CD pipelines, or publishing test results to the Azure portal.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/microsoft/skills/tree/HEAD/.github/plugins/azure-sdk-typescript/skills/azure-microsoft-playwright-testing-ts)
- [License: MIT](https://github.com/microsoft/skills/tree/HEAD/.github/plugins/azure-sdk-typescript/skills/azure-microsoft-playwright-testing-ts)

## Features

- **Cloud browser configuration:** Shows how to wrap an existing Playwright config so tests run on Azure-hosted Linux or Windows browsers.
- **Entra ID authentication:** Explains credential setup for local development and production, including managed and workload identities.
- **Azure portal reporting:** Covers the Azure reporter that publishes run results to the Azure portal alongside the HTML reporter.
- **CI/CD pipeline examples:** Provides GitHub Actions and Azure Pipelines snippets that run the cloud test command on each push.
- **Migration from old package:** Maps options and imports from the retired Microsoft Playwright Testing package to the new one.
- **Manual browser connection:** Shows how to get connection options and attach a Playwright browser to the cloud endpoint directly.

## Good for

- Run my Playwright suite across many cloud browsers in parallel
- Set up a Playwright service config for Azure Playwright Workspaces
- Add Azure Playwright test runs to my GitHub Actions workflow
- Publish Playwright test results to the Azure portal
- Migrate my tests from the old Microsoft Playwright Testing package

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/azure-microsoft-playwright-testing-ts` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/azure-microsoft-playwright-testing-ts &&
cp -R "$tmp/.github/plugins/azure-sdk-typescript/skills/azure-microsoft-playwright-testing-ts" ~/.claude/skills/azure-microsoft-playwright-testing-ts &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/azure-microsoft-playwright-testing-ts` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/azure-microsoft-playwright-testing-ts` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/azure-microsoft-playwright-testing-ts &&
cp -R "$tmp/.github/plugins/azure-sdk-typescript/skills/azure-microsoft-playwright-testing-ts" ~/.agents/skills/azure-microsoft-playwright-testing-ts &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/azure-microsoft-playwright-testing-ts` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/azure-microsoft-playwright-testing-ts` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/azure-microsoft-playwright-testing-ts &&
cp -R "$tmp/.github/plugins/azure-sdk-typescript/skills/azure-microsoft-playwright-testing-ts" ~/.cursor/skills/azure-microsoft-playwright-testing-ts &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/azure-microsoft-playwright-testing-ts` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/microsoft/skills.git --path .github/plugins/azure-sdk-typescript/skills/azure-microsoft-playwright-testing-ts
```

Or copy the folder to `~/.gemini/skills/azure-microsoft-playwright-testing-ts` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/azure-microsoft-playwright-testing-ts`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/microsoft/skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/azure-microsoft-playwright-testing-ts &&
cp -R "$tmp/.github/plugins/azure-sdk-typescript/skills/azure-microsoft-playwright-testing-ts" ~/.copilot/skills/azure-microsoft-playwright-testing-ts &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/azure-microsoft-playwright-testing-ts` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/microsoft/skills.git
```

Then copy `skills/.github/plugins/azure-sdk-typescript/skills/azure-microsoft-playwright-testing-ts` into your agent's skills folder as `azure-microsoft-playwright-testing-ts`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What do I need before using Azure microsoft playwright testing ts?

Playwright 1.47 or later is needed for basic usage and 1.57 or later for the Azure reporter. You also need an Azure Playwright Workspace, its service URL, and either Azure CLI sign-in or a managed identity for authentication.

### Does Azure microsoft playwright testing ts change my existing Playwright config?

It recommends a separate playwright.service.config.ts file that imports your existing config and wraps it, so your regular local configuration stays in place.

### Which authentication methods are covered?

Microsoft Entra ID through DefaultAzureCredential or specific credentials such as ManagedIdentityCredential, plus an ACCESS_TOKEN option that reads an access token from an environment variable.

### Which CI systems have examples?

The skill includes examples for GitHub Actions and Azure Pipelines.

### How do I install Azure microsoft playwright testing ts in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/azure-microsoft-playwright-testing-ts to use it in all your projects, or to .claude/skills/azure-microsoft-playwright-testing-ts in one project.

### Does Azure microsoft playwright testing ts run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Azure microsoft playwright testing ts?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Azure microsoft playwright testing ts?

The closest alternatives to Azure microsoft playwright testing ts are Azure resource manager playwright dotnet, Azure playwright migration skill, Playwright skill, Webapp testing and Playwright generate test.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Azure resource manager playwright dotnet](https://ai-powered.com/skills/azure-resource-manager-playwright-dotnet): Azure resource manager playwright dotnet is an open-source agent skill for browser automation.
- [Azure playwright migration skill](https://ai-powered.com/skills/azure-playwright-migration-skill): Azure playwright migration skill is an open-source agent skill for browser automation.
- [Playwright skill](https://ai-powered.com/skills/playwright-skill): Playwright skill is an open-source agent skill for browser automation.
- [Webapp testing](https://ai-powered.com/skills/webapp-testing-github): Webapp testing is an open-source agent skill for browser automation.
- [Playwright generate test](https://ai-powered.com/skills/playwright-generate-test): Playwright generate test is an open-source agent skill for browser automation.
- [Webapp testing](https://ai-powered.com/skills/webapp-testing): Webapp testing is an open-source agent skill for browser automation.
- [E2E testing](https://ai-powered.com/skills/e2e-testing): E2E testing is an open-source agent skill for developer tools.
- [Playwright](https://ai-powered.com/skills/playwright): Playwright is a free agent skill for browser automation.

---
Source: https://ai-powered.com/skills/azure-microsoft-playwright-testing-ts
