What problem does it solve?
playwright-cli removes the guesswork and tedium of manually clicking through websites by letting you drive a real browser to perform actions, capture screenshots, and extract information reliably.
Core Features & Use Cases
- Browser navigation & interactions: open pages, click, type, fill, select options, upload files, and run JavaScript against the current page.
- State, storage, and session workflows: manage cookies and local/session storage, save/restore storage state, and run isolated named browser sessions.
- Debugging & evidence generation: create snapshots after commands, record traces, and optionally record videos for later inspection.
- Test support: generate Playwright TypeScript code from your interactive session and map actions back to resilient locators.
Quick Start
Open a page, take a snapshot, and click a specific element using its snapshot reference by telling the AI: "Open https://example.com and then click element e3 after taking a snapshot."