playwright

Generate Playwright end-to-end TypeScript tests from explored URLs.

1|Updated Sep 17, 2025
One-click install
npx skills add https://github.com/mpazaryna/agentic-factory --skill playwright-mpazaryna
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: playwright
Source: https://github.com/mpazaryna/agentic-factory/tree/main/dev/codebase-analysis/skills/playwright
Command: npx skills add https://github.com/mpazaryna/agentic-factory --skill playwright-mpazaryna

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates the generation of Playwright end-to-end tests by exploring websites and translating user interactions into executable TypeScript code.

Core Features & Use Cases

  • Automated Test Generation: Creates Playwright tests based on website exploration and user scenarios.
  • Browser Automation: Navigates websites, interacts with elements, and verifies behavior.
  • Use Case: When a user wants to ensure a critical user flow on their web application is working correctly, they can ask this Skill to explore the flow and generate a robust Playwright test suite.

Quick Start

Generate a Playwright test for the login functionality on example.com.

Frequently Asked Questions about playwright

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate Playwright e2e tests for a web application?▼

To generate Playwright tests, provide a target URL and a user scenario. The tool explores the website, simulates interactions, and translates the behavior into robust, maintainable TypeScript end-to-end tests using @playwright/test.

What is the best way to automate TypeScript test generation for browser automation?▼

Automating TypeScript test generation is best handled by exploring web applications and recording user interactions. This approach creates maintainable Playwright tests featuring auto-retrying assertions and role-based locators for robust browser automation.

Can I automatically create Playwright tests by exploring a website's user flows?▼

Yes, you can create Playwright tests by having the tool explore a website and simulate critical user flows. It navigates web pages, interacts with elements, and verifies behavior to output a robust TypeScript test suite.

Does automated Playwright test generation follow best practices like role-based locators?▼

Automated Playwright test generation strictly adheres to best practices by utilizing role-based locators and auto-retrying assertions. This ensures the resulting TypeScript tests remain robust and maintainable across web application updates.

How do I ensure a critical web application flow is working correctly with Playwright?▼

To ensure a critical web application flow is working correctly, you can generate a Playwright test suite. The tool explores the specified flow, simulates user interactions, and produces TypeScript tests to verify behavior automatically.