playwright-cli
Originally frommicrosoft/playwright-cli
Installation
SKILL.md
Browser Automation with playwright-cli
Quick start
# open new browser
bunx @playwright/cli@0.1.8 open
# navigate to a page
bunx @playwright/cli@0.1.8 goto https://playwright.dev
# interact with the page using refs from the snapshot
bunx @playwright/cli@0.1.8 click e15
bunx @playwright/cli@0.1.8 type "page.click"
bunx @playwright/cli@0.1.8 press Enter
# take a screenshot (rarely used, as snapshot is more common)
bunx @playwright/cli@0.1.8 screenshot
# close the browser
bunx @playwright/cli@0.1.8 close