Skip to content
Back to skills

Playwright Browser Discovery

ASecurity

Discover live web UI structure with Playwright or playwright-cli before authoring browser tests or page objects.

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 7, 2026
tools

Works with

  • cli

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add TimothyMeadows/Hephaera --skill playwright-browser-discovery --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Playwright Browser Discovery?

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

Security grade badge for Playwright Browser Discovery
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/timothymeadows-playwright-browser-discovery/badge)](https://www.skillsdirectory.com/skills/timothymeadows-playwright-browser-discovery)

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-browser-discovery
description: Discover live web UI structure with Playwright or playwright-cli before authoring browser tests or page objects.
engines: [AGNOSTIC]
---

## When to use

Use when the user needs to inspect a live web page, discover selectors, identify field types, record conditional UI behavior, capture screenshots, or confirm a browser workflow before writing Playwright tests.

Typical triggers:
- creating a new page object
- diagnosing a stale selector
- enumerating dropdown/multiselect options
- checking conditional fields after a radio, checkbox, or dropdown change
- producing UI evidence for a test plan

## Output

Produce a concise discovery record:
- target environment and entry URL
- navigation path used to reach the screen
- stable selectors or IDs discovered
- control type for each relevant field
- conditional behavior and how it is triggered
- screenshots, snapshots, traces, or eval output paths when available
- implementation recommendations for page objects and test data

## Notes

- Prefer host-owned login helpers, fixtures, and existing specs over rebuilding authentication manually.
- Use browser snapshots for orientation and `page.evaluate`/DOM enumeration for large or dynamic pages.
- Record exact option labels for dropdowns and multiselects; tests should use visible labels only when the application contract supports that.
- Treat snapshot element refs as temporary. Re-snapshot after navigation or dynamic UI changes.
- On Windows, do not invent unsupported CLI flags. Use the locally installed `playwright-cli` or `npx playwright-cli` with the flags supported by that version.
- Store generated discovery artifacts in host scratch locations such as `.playwright-cli/`; do not promote them into Hephaera unless they are reusable templates or references.
- Reference docs bundled with Hephaera live under `assets/playwright-cli/references/`.
- When the user needs a non-interactive handoff, run `commands/playwright-discovery-report.sh` to summarize snapshots, screenshots, traces, and videos into `.hephaera/.cache/reports/`.

Files in this skill

  • SKILL.md2.1 KB
  • agents/openai.yaml257 B

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 tools →

Comments

Loading comments…

Newsletter

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