Playwright

Use when Codex needs browser automation, end-to-end testing, UI verification, screenshot capture, page interaction checks, or visual inspection of a local or remote web app with Playwright.

cxijin6-cell Updated

File contents

Playwright

Use this skill when a task requires seeing or controlling a web page like a user.

Workflow

  1. Identify the target URL or local app entry point.
  2. Start the app server if needed and confirm the URL loads.
  3. Use Playwright to interact with the page, inspect states, and capture screenshots.
  4. Check the relevant viewport sizes for the user-facing change.
  5. Report findings with concrete evidence: URL, viewport, interaction, and observed result.

Verification Checklist

  • Page loads without console-blocking errors.
  • Main content is visible and not blank.
  • Important controls can be clicked or typed into.
  • Layout works at desktop and mobile widths when visual quality matters.
  • Screenshots or observations support the conclusion.

Guardrails

  • Prefer real interactions over static DOM guesses.
  • Do not claim visual correctness without checking a rendered page.
  • Keep test scripts focused on the workflow being verified.

cxijin6-cell/codex-skills/tree/main/skills/playwright commit 623ba1e6d3

Frequently asked questions

npx skillmds@latest add cxijin6-cell/playwright