CLI Tool

Reference for the playwright-cli command-line tool — the verify-before-coding companion for Playwright + TypeScript test development. Covers the discovery workflow (open → snapshot → click/fill → emit locator code), API response verification via run-code, named browser sessions for multi-user tests, storage state save/load, tracing, and request mocking. Use when writing tests where element testids or interactions are uncertain, when verifying API response field names before assertions, or when debugging a test by replaying it interactively.

antongulin 90d15c4 10.2 KB Updated

File contents

antongulin/pw-kit/tree/main/skills/cli-tool commit 90d15c42d1

Frequently asked questions

npx skillmds@latest add antongulin/cli-tool