playwright-cli

Installation
Summary

Interactive browser automation with snapshot-based element references and multi-session support.

  • 40+ commands across navigation, interaction, keyboard/mouse control, storage management, network mocking, and DevTools integration
  • Automatic page snapshots after each command with element references (e.g., e15) for reliable, context-aware interactions
  • Multi-browser support (Chrome, Firefox, WebKit, Edge) with persistent profiles, session management, and named browser instances
  • Built-in debugging tools including console logging, network inspection, tracing, and video recording for test workflows
SKILL.md

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
Related skills
Installs
438
GitHub Stars
88.5K
First Seen
Jan 24, 2026