playwright-cli
Installation
SKILL.md
Security Audit Disclaimer: This skill uses browser automation to interact with arbitrary web pages. By design, it visits external URLs, executes JavaScript (val), and accesses browser storage (cookies, localStorage) — behaviors that security scanners flag as W007/W011. These capabilities are inherent to Playwright-based testing and are not exploitable beyond the agent's existing tool access. Always use test/staging environments with isolated credentials.
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