# Playwright

> Playwright is an agent skill for browser automation. Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, U. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/openai/skills/tree/main/skills/.curated/playwright
- **Repository:** https://github.com/openai/skills
- **GitHub stars:** 28,784
- **Skill name:** playwright
- **Collection:** https://github.com/openai/skills
- **Categories:** browser automation
- **Listing updated:** 2026-11-17

## About

Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.

## When your agent uses it

> Use when the task requires automating a real browser from the terminal (navigation, form filling, snapshots, screenshots, data extraction, UI-flow debugging) via `playwright-cli` or the bundled wrapper script.

## What it can access

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

- [Runs shell scripts](https://github.com/openai/skills/tree/HEAD/skills/.curated/playwright)
- [No network calls found in its scripts](https://github.com/openai/skills/tree/HEAD/skills/.curated/playwright)
- [Includes binary files](https://github.com/openai/skills/tree/HEAD/skills/.curated/playwright)
- [No license found](https://github.com/openai/skills/tree/HEAD/skills/.curated/playwright)

## Install

### Claude Code

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

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

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

### Codex

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

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

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

### Cursor

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

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

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

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

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

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

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

### Does Playwright run scripts?

Yes. It runs shell 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?

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?

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

## Alternatives

- [Playwright explore website](https://ai-powered.com/skills/playwright-explore-website): Playwright explore website is an open-source agent skill for browser automation.
- [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 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.
- [Hyperexecute skill](https://ai-powered.com/skills/hyperexecute-skill): Hyperexecute skill 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
