Utility Claude, GitHub Copilot

playwright-cli: browser control for coding agents

A real browser an agent can drive from the terminal

playwright-cli is a Microsoft command-line tool that drives a real browser. From the terminal you navigate to pages, click, fill in forms, take screenshots and record what you did, then print the recording back as Playwright code. The part that matters here is that it ships Agent Skills, so a coding agent can work the browser through the CLI instead of through a server. It is pitched as a token-efficient alternative to Playwright MCP, because page data is never forced into the model's context. The README names Claude Code, GitHub Copilot and any other coding agent. It is Apache-2.0 licensed and had 15.5k stars on November 29, 2026.

What you would use it for

  • Have your agent open your app in a real browser, click through a flow, fill in a form and take a screenshot so you can see what the page looks like.
  • Record the steps you take in the browser and get them back as Playwright code, a quick way to start a test you would otherwise write by hand.
  • Inspect selectors from the CLI when a test needs a reliable way to target an element.

Install the skills for your agent

The npm package is @playwright/cli. The command playwright-cli install --skills installs the Agent Skills, and the README also lists --skills=agents and --global options. Read the README after that to see the browser commands your agent will be working with. It had 145 commits on the main branch when I read it on November 29, 2026.

More from November 29, 2026

All skills