SKILL

playwright-generate-test

Generate a Playwright test based on a scenario using Playwright MCP

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Test Generation with Playwright MCP
  • Specific Instructions

Your goal is to generate a Playwright test based on the provided scenario after completing all prescribed steps. You are given a scenario, and you need to generate a playwright test for it. If the user does not provide a scenario, you will ask them to provide one. DO NOT generate test code prematurely or based solely on the scenario without completing all prescribed steps. DO run steps one by one using the tools provided by the Playwright MCP. Only after all steps are completed, emit a Playwright TypeScript test that uses @playwright/test based on message history Save generated test file in the tests directory Execute the test file and iterate until the test passes

Source repository
OKHP3/skillz
Source file
docs/archive/skill-redundancy-2026-09-19/browser-refactor/playwright-generate-test/SKILL.md
Fixed revision
7b187777d42ab7bc7bab1e5f2c940cd3139ecebf
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: OKHP3/skillz · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T10:00:54.842Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.