playwright-cli
FeaturedAutomate browser interactions and inspect or test web pages through Playwright commands. Use when the task requires deterministic browser navigation, screenshots, selectors, or Playwright-test work. For a full local-webapp test workflow, use $webapp-testing.
Testing & QA 144 stars
27 forks Updated 3 days ago MIT
Install
Quality Score: 90/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Browser Automation with playwright-cli
Use this skill for ad-hoc browser navigation, inspection, and interaction using
CLI snapshots. When a local application needs managed server startup, custom
Python assertions, or a repeatable Python test script, use `$webapp-testing`.
## Quick start
```bash
# open new browser
playwright-cli open
# navigate to a page
playwright-cli goto https://playwright.dev
# interact with the page using refs from the snapshot
playwright-cli click e15
playwright-cli type "page.click"
playwright-cli press Enter
# take a screenshot (rarely used, as snapshot is more common)
playwright-cli screenshot
# close the browser
playwright-cli close
```
## Commands
See [`references/commands.md`](references/commands.md) for the complete catalogue of all commands organized by category: Core, Navigation, Keyboard, Mouse, Save as, Tabs, Storage (Cookies/LocalStorage/SessionStorage), Network, DevTools, Open Parameters, Browser Sessions, and Raw Output Mode.
## Snapshots
After each command, playwright-cli provides a snapshot of the current browser state.
```bash
> playwright-cli goto https://example.com
### Page
- Page URL: https://example.com/
- Page Title: Example Domain
### Snapshot
[Snapshot](.playwright-cli/page-2026-02-14T19-22-42-679Z.yml)
```
You can also take a snapshot on demand using `playwright-cli snapshot` command. All the options below can be combined as needed.
```bash
# default - save to a file with timestamp-based name
playwright-cli snapshot...
Details
- Author
- flonat
- Repository
- flonat/flonat-research
- Created
- 7 months ago
- Last Updated
- 3 days ago
- Language
- Python
- License
- MIT
Integrates with
Similar Skills
Semantically similar based on skill content — not just same category
Testing & QA Listed
playwright-cli
Automate browser interactions, test web pages and work with Playwright tests.
0 Updated yesterday
Voronenko Testing & QA Listed
playwright-cli
Automate browser interactions, test web pages and work with Playwright tests.
8 Updated yesterday
ensemblr-hq Testing & QA Listed
playwright-cli
Automate browser interactions, test web pages and work with Playwright tests.
13 Updated today
goondocks-co