The skill teaches the agent to use playwright-cli: open and goto to load pages, snapshot to obtain a page snapshot with element IDs, then click, fill, select, upload, drag, and other commands to interact by ID; find searches for text or regex within the snapshot, and eval reads element attributes. It also supports tab management, saving and loading login states, adding and removing cookies and localStorage entries, intercepting requests by URL and returning mock data, toggling dark mode and reducing animations, viewing console logs and network requests, taking screenshots and exporting PDFs, and integrating with Playwright tests.
Why it matters Interact using element IDs from page snapshots without needing to write test scripts first; also modify cookies and local storage, mock request responses, and view console errors.
skills.sh installs 226708 (+1198 / 24h)
Security Audit: Not audited
- Not yet scanned
Rationale
- skills.sh 24 hour installs 1198, cumulative 226708 (indicates attention only); official Microsoft repository
- The allowed-tools in SKILL.md permit only playwright-cli and npx playwright related commands
Usage
- Run npx skills add https://github.com/microsoft/playwright-cli --skill playwright-cli, verify that playwright-cli can run on your local machine, then tell the agent "Open the registration page of the local development environment, fill out the form, and check if there are any console errors"
Risks
- Not audited: not scanned for desktop use, website does not display installation commands
- The agent can read and write cookies, save login states to files (such as auth.json); consider permissions carefully before operating on logged-in sites, and do not commit state files to the repository