# Playwright skill

> Playwright skill is an open-source agent skill for browser automation. Generates production-grade Playwright automation scripts and E2E tests in TypeScript, JavaScript, Python, Java, or C#. 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/LambdaTest/agent-skills/tree/main/playwright-skill
- **Repository:** https://github.com/lambdatest/agent-skills
- **GitHub stars:** 392
- **License:** MIT
- **Skill name:** playwright-skill
- **Collection:** https://github.com/LambdaTest/agent-skills
- **Categories:** browser automation
- **Listing updated:** 2026-11-17

## About

Generates production-grade Playwright automation scripts and E2E tests in TypeScript, JavaScript, Python, Java, or C#. Supports local execution and TestMu AI cloud across 3000+ browser/OS combinations and real mobile devices. Use when the user asks to write Playwright tests, automate browsers, run cross-browser tests, test on real devices, debug flaky tests, mock APIs, or do visual regression. Triggers on: "Playwright", "E2E test", "browser test", "run on cloud", "cross-browser", "TestMu", "LambdaTest", "test my app", "test on mobile", "real device".

## When your agent uses it

> Generates production-grade Playwright automation scripts and E2E tests in TypeScript, JavaScript, Python, Java, or C#. Supports local execution and TestMu AI cloud across 3000+ browser/OS combinations and real mobile devices. Use when the user asks to write Playwright tests, automate browsers, run cross-browser tests, test on real devices, debug flaky tests, mock APIs, or do visual regression. Triggers on: "Playwright", "E2E test", "browser test", "run on cloud", "cross-browser", "TestMu", "LambdaTest", "test my app", "test on mobile", "real device".

## What it can access

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

- [Runs shell, Python and TypeScript scripts](https://github.com/LambdaTest/agent-skills/tree/HEAD/playwright-skill)
- [No network calls found in its scripts](https://github.com/LambdaTest/agent-skills/tree/HEAD/playwright-skill)
- [License: MIT](https://github.com/LambdaTest/agent-skills/tree/HEAD/playwright-skill)

## Install

### Claude Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/playwright-skill &&
cp -R "$tmp/playwright-skill" ~/.claude/skills/playwright-skill &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/playwright-skill` inside it instead.

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/playwright-skill &&
cp -R "$tmp/playwright-skill" ~/.agents/skills/playwright-skill &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/playwright-skill` inside it instead.

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/playwright-skill &&
cp -R "$tmp/playwright-skill" ~/.cursor/skills/playwright-skill &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/playwright-skill` 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/LambdaTest/agent-skills.git --path playwright-skill
```

Or copy the folder to `~/.gemini/skills/playwright-skill` yourself.

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/LambdaTest/agent-skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/playwright-skill &&
cp -R "$tmp/playwright-skill" ~/.copilot/skills/playwright-skill &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/playwright-skill` inside it instead.

### Other agents

Get the folder:

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

Then copy `agent-skills/playwright-skill` into your agent's skills folder as `playwright-skill`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Playwright skill in Claude Code?

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

### Does Playwright skill run scripts?

Yes. It runs shell, Python and TypeScript scripts. No network calls were found in its 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 Playwright skill?

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 Playwright skill?

The closest alternatives to Playwright skill are Playwright automation fill in form, Playwright explore website, Playwright, Playwright interactive and Azure resource manager playwright dotnet.

## Alternatives

- [Playwright automation fill in form](https://ai-powered.com/skills/playwright-automation-fill-in-form): Playwright automation fill in form is an open-source agent skill for browser automation.
- [Playwright explore website](https://ai-powered.com/skills/playwright-explore-website): Playwright explore website is an open-source agent skill for browser automation.
- [Playwright](https://ai-powered.com/skills/playwright): Playwright is an agent skill for browser automation.
- [Playwright interactive](https://ai-powered.com/skills/playwright-interactive): Playwright interactive is an agent skill for browser automation.
- [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.
- [Page screenshots](https://ai-powered.com/skills/page-screenshots): Page screenshots is an open-source agent skill for browser automation.
- [Google cloud filestore nfs browser](https://ai-powered.com/skills/google-cloud-filestore-nfs-browser): Google cloud filestore nfs browser is an open-source agent skill for cloud and infrastructure.
- [Selenium skill](https://ai-powered.com/skills/selenium-skill): Selenium skill is an open-source agent skill for browser automation.

---
Source: https://ai-powered.com/skills/playwright-skill
