Browser Automation with playwright-cli
Use this skill for ad-hoc browser navigation, inspection, and interaction using
CLI snapshots. When a local application needs managed server startup, custom
Python assertions, or a repeatable Python test script, use $webapp-testing.
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