feat: add playwright-cli skill#5
Conversation
Teaches the agent how to use playwright-cli for headless browser automation — navigate, click, fill, screenshot, inspect network, manage cookies/sessions. No MCP protocol needed.
|
Claude finished @royosherove's task in 2m 2s —— View job PR Review:
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 91d5208c10
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| ```bash | ||
| npm install -g @playwright/cli | ||
| playwright-cli install # downloads Chromium (~186MB, one-time) |
There was a problem hiding this comment.
Use the documented browser install subcommand
The setup step currently tells users to run playwright-cli install to download Chromium, but Playwright CLI’s installation docs use playwright-cli install-browser for browser binaries and reserve install --skills for skill files. In a fresh environment this instruction can leave the browser uninstalled, so subsequent open/automation commands fail despite following the skill exactly.
Useful? React with 👍 / 👎.
| ```bash | ||
| playwright-cli requests # list all network requests | ||
| playwright-cli request 3 # full details of request #3 | ||
| playwright-cli response-body 3 # response body of request #3 |
There was a problem hiding this comment.
Remove unsupported network response command
The Network section documents playwright-cli response-body 3, but the published CLI command set lists request inspection via requests and request <index> and does not expose a response-body subcommand. Users following this guide will hit an immediate CLI error when trying to inspect responses, breaking the advertised network-debugging workflow.
Useful? React with 👍 / 👎.
Browser automation skill using @playwright/cli. Direct CLI — no MCP protocol needed.