playwright
$ npm i -D @playwright/testBrowser testing, automation, and headless scripts from the terminal.
- playwright fits browser well, especially for browser testing, automation, and headless scripts from the terminal.
- It is the official CLI from Microsoft.
- Easy to automate.
- Good fit for coding-agent workflows and repeatable scripts.
- Output is mostly text-first, so verify results before scripting around it.
Playwright guide
The official CLI from Microsoft. Browser testing, automation, and headless scripts from the terminal.
Open CLI packages the install path, verify step, and safe-start workflow so this tool can move from “interesting CLI” to something you can actually use. It also integrates with skills.sh so each CLI comes with the right companion skills, not just a binary and a docs link.
When to apply
- browser testing, automation, and headless scripts from the terminal.
- You need browser automation in both local dev and CI.
- You need browser testing.
- You need automation.
- You need headless scripts.
Quick reference
npm i -D @playwright/testplaywright --helpnpx playwright testOpen CLI × skills.sh
Open CLI integrates playwright with the right skills.sh companions so you get the tool and the workflow together.
Playwright CLI
Verified pairingOpen CLI integrates playwright with this skills.sh skill because it is the clearest fit for how playwright is usually used. Practical browser automation and test flows built around Playwright.
$ npx skills add https://github.com/microsoft/playwright-cli --skill playwright-cliUse playwright together with the Playwright CLI skills.sh skill. Explore the app step by step, describe what you observe, and only then generate or run broader automation.
Why this tool
- playwright fits browser well, especially for browser testing, automation, and headless scripts from the terminal.
- It is the official CLI from Microsoft.
- Easy to automate.
Watch-outs
- Output is mostly plain text.
Example workflow
1. npx playwright testSafe start
Install playwright.
Run `playwright --help` first.
Start with `npx playwright test`.
Install the browser or scraping CLI and any required browser dependencies.