Skip to content

playwright-cli

Browser automation with 40+ commands for navigation, interaction, form filling, and web testing.

— (0 ratings) 231.6K downloads microsoft
$ npx skills add https://github.com/microsoft/playwright-cli --skill playwright-cli

Skills can run code on your computer. Review the source before installing. This listing is community-made and isn't affiliated with Anthropic.

About this skill

Summary

Browser automation with 40+ commands for navigation, interaction, form filling, and web testing.

  • Supports multiple browsers (Chrome, Firefox, WebKit, Edge) with persistent profiles, extensions, and custom configurations
  • Core interactions include clicking, typing, dragging, selecting, uploading files, and handling dialogs across page elements
  • Storage management for cookies, localStorage, and sessionStorage; network request mocking and routing for testing
  • DevTools integration with console logging, network inspection, tracing, and video recording for debugging
  • Named browser sessions for parallel workflows and snapshot-based page state capture after each command

Browser Automation with playwright-cli

Quick start

# 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

Installs: 231.5K | GitHub stars: 15.5K | First seen: Jan 23, 2026

Related skills

New

Agent workflows

agent-browser

Fast, persistent browser automation with session continuity across sequential agent commands.

New • 1.8M
New

Coding & dev tools

hyperframes-cli

CLI toolkit for scaffolding, validating, previewing, and rendering HyperFrames video compositions.

New • 1.8M
New

Testing

grill-me

Relentless interviewing skill that stress-tests plans and designs through systematic questioning.

New • 1.6M