Skip to content
Back to skills

Playwright Ui Testing

ASecurity

Run deterministic Playwright UI tests for local or test environments, including isolated browser profiles, traces, video, and multi-browser coverage. Use when the user asks for /playwright, end-to-end tests, reproducible UI testing, visual regression, or CI-style browser verification.

  • 6 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 26, 2026
testingtestingapidocumentation

Works with

  • terminal
  • cli
  • api

Security analysis

A100/100

Scanned November 26, 2026

npx -y skills add jleechanorg/jleechan-skills --skill playwright-ui-testing --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Playwright Ui Testing?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Playwright Ui Testing
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/jleechanorg-playwright-ui-testing/badge)](https://www.skillsdirectory.com/skills/jleechanorg-playwright-ui-testing)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: playwright-ui-testing
description: Run deterministic Playwright UI tests for local or test environments, including isolated browser profiles, traces, video, and multi-browser coverage. Use when the user asks for /playwright, end-to-end tests, reproducible UI testing, visual regression, or CI-style browser verification.
---

# Playwright UI testing

## Scope

Use this skill for reproducible application testing, not for managing real user accounts, Slack app settings, OAuth consent, or persistent personal browser sessions. Route those tasks to `browser-control` and Aside.

## Preflight

1. Identify the target repository and its existing test runner. Do not assume a framework, dev-server command, port, URL, or test account.
2. Check the available runner before changing anything, for example `npx playwright --version`, the project's package scripts, or its existing browser-test documentation.
3. Prefer the repository's existing tests and server helpers. If a new script is needed, keep it under the project test or temporary artifact path, never in a global skill directory.
4. Use test-only accounts and data. Never inject production credentials, scrape cookies, disable authentication, or run destructive flows against production without explicit approval.

## Test loop

1. Start or attach to the declared test environment.
2. Wait for the rendered application state before selecting elements.
3. Use role, label, test-id, or other stable locators. Avoid arbitrary sleeps and brittle coordinates.
4. Assert the intended behavior and capture useful failure evidence: screenshot, trace, console error, or video when configured.
5. Close isolated browser contexts and preserve only requested artifacts.

## Tool choice

- Use native Playwright tests for repeatable project tests and CI.
- Use the Playwright CLI when terminal-driven interactive automation is specifically requested.
- Use isolated profiles, traces, video, or multi-browser runs only when they add diagnostic or acceptance value.
- For exploratory work in a signed-in live browser, use `browser-control` instead.

## Completion

Report the command or test suite, target environment, pass/fail assertions, and artifact paths. Never claim a UI flow passed from navigation alone; verify the expected rendered state or API-visible result.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in testing →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.