# Playwright Test Generator with Codegen

> Records and generates end-to-end test scripts using Playwright Codegen with multi-browser targeting. Produces TypeScript test files compatible with Playwright Test runner, handles visual regression via playwright-visual-regression plugin, and integrates with Allure reporting.

- Skill: `agentskillexchange/playwright-test-generator-with-codegen` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/playwright-test-generator-with-codegen`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/playwright-test-generator-with-codegen/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/playwright-test-generator-with-codegen

---


# Playwright Test Generator with Codegen

Records and generates end-to-end test scripts using Playwright Codegen with multi-browser targeting. Produces TypeScript test files compatible with Playwright Test runner, handles visual regression via playwright-visual-regression plugin, and integrates with Allure reporting.

## Installation

Use the upstream install or setup path that matches your environment:
- npm install -g @playwright/cli@latest
- npm i playwright

Requirements and caveats from upstream:
- Playwright is also available for [Python](https://playwright.dev/python/docs/intro), [.NET](https://playwright.dev/dotnet/docs/intro), and [Java](https://playwright.dev/java/docs/intro).

Basic usage or getting-started notes:
- bash
- Optionally install skills for richer agent integration:
- playwright-cli install --skills

- Source: https://github.com/microsoft/playwright
- Extracted from upstream docs: https://raw.githubusercontent.com/microsoft/playwright/HEAD/README.md

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/playwright-test-generator-codegen/)

