Added Nov 23, 2026
playwright-cli
A browser automation and testing tool that lets coding agents use Playwright through command-line skills.
- Ecosystem
- Agent Skills
- Skill category
- Coding
- Creator / organization
- Microsoft(microsoft)
What it is
playwright-cli is Microsoft's command-line tool for Playwright, with skills for coding agents. Once installed, agents such as Claude Code and GitHub Copilot can use commands to operate a browser for automation and testing. The project says this approach reduces the tool descriptions and page data loaded into the model's context.
Highlights:
- Record and generate Playwright code, inspect selectors, and take screenshots.
- Receive a snapshot of the current browser state after each command.
- Run the browser headlessly by default, without displaying a browser window.
How to use:
- First, install Node.js 20 or newer, then run `npm install -g @playwright/cli@latest`.
- Next, run `playwright-cli install --skills` so your coding agent can use the locally installed skills.
Who it's for:
Developers who want coding agents to help with browser automation and web testing.
Before you start:
You need Node.js 20 or newer and a coding agent such as Claude Code or GitHub Copilot. The tool can read and modify cookies, localStorage and sessionStorage, upload files, and record network requests. When connected through an extension, it can control selected tabs. Session data is kept in memory by default and lost when the browser closes, but can be configured to persist on disk. Location and clipboard permissions can be granted through configuration; origin restrictions are not a security boundary. The license is Apache-2.0; consult the project documentation for pricing. If you use these features, weigh the safety risks yourself. AI Inspiration World is not responsible for any consequences.
Based on the project's public documentation. Not tested by AI Inspiration World.