Playwright cli

From NazmusSayad/.dotfiles · View interactive version

Playwright cli is an AI agent skill from the GitHub repository NazmusSayad/.dotfiles. Drives a live browser through the global `playwright-cli` command to inspect, interact with and capture web pages. MUST USE before working with `playwright-cli`.

How to use this skill

Skill file

How it works

The browser runs in a background session that persists between commands until close. Check playwright-cli --help [command] instead of guessing commands or flags.

Each command prints the page URL, title, the Playwright code it ran, and a link to a snapshot file. The snapshot is an accessibility tree with element refs such as e15. Commands target a ref, a CSS selector, or a locator such as "getByRole('button', { name: 'Submit' })".

Guidelines

Sessions

Captures

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.