askill
webapp-testing

webapp-testingSafety --Repository

Test local web applications using Playwright. Use when verifying UI behavior, testing user flows, checking screenshots, or debugging browser-rendered output.

0 stars
1.2k downloads
Updated 2/22/2026

Package Files

Loading files...
SKILL.md

Web Application Testing

Test the web application using playwright-cli for browser automation.

Decision Tree

Is the server already running?
├─ No → Start it first (npm run dev / uv run ... / etc.)
└─ Yes → Proceed with testing

Workflow

  1. Open browser: playwright-cli open <url>
  2. Snapshot elements: playwright-cli snapshot — gets refs (e1, e2, ...)
  3. Interact: playwright-cli click e1, playwright-cli fill e2 "text"
  4. Re-snapshot: verify result after each action
  5. Screenshot: playwright-cli screenshot for visual record
  6. Close: playwright-cli close

Key Commands

ActionCommand
Navigateplaywright-cli open <url>
Get elementsplaywright-cli snapshot
Clickplaywright-cli click e1
Fill inputplaywright-cli fill e1 "value"
Take screenshotplaywright-cli screenshot
Check consoleplaywright-cli console
Closeplaywright-cli close

Critical Rules

  • Always snapshot before interacting — refs change after each action
  • Wait for load: playwright-cli run-code "async page => { await page.waitForLoadState('networkidle'); }"
  • Test the full user flow, not just individual elements
  • Capture screenshots as evidence for each test scenario

Test Checklist

  • Main user workflow completes without errors
  • Forms validate and show correct error messages
  • Success states display after operations
  • Navigation works between pages
  • No console errors during normal usage

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

AI review pending.

Metadata

Licenseunknown
Version-
Updated2/22/2026
PublisherMartinNevlaha

Tags

github-actionstesting