Dev & Engineering playwrightbrowser-automationweb-testingscreenshotsweb-scrapinge2e-testingcli

playwright-cli Browser Automation Skill

Drives Playwright from the command line so an AI agent can navigate sites, fill forms, capture screenshots, and extract data without you writing browser scripts.

FollowSkills review · FSRS-1.0
Use with care
56/ 100 5-point scale 2.8 / 5
This review was completed under FSRS 1.0. Dimension scores are not converted; it is queued for re-review under FSRS 2.0.
1 2 3 4 5 6
1Utility11 / 20 · 2.8/5
2Reliability11 / 20 · 2.8/5
3Safety17 / 25 · 3.4/5

A browser-automation example skill (open browser, click, fill forms, screenshot) — same risk category as other Playwright-family skills (id 758): fundamentally arbitrary browser-interaction capability; here it's a framework example, not an independently published production skill.

4Evidence5 / 15 · 1.7/5
5Usability7 / 10 · 3.5/5
6Maintenance5 / 10 · 2.5/5
Evidence confidence:Low Reviewed Jul 17, 2026
Review evidence [1]
See the full review method →

What does this skill do, and when should you use it?

playwright-cli is an Agent Skill bundled in the VoltAgent repository's examples directory that packages browser automation into a directly callable CLI. It works through a snapshot loop: a snapshot returns element refs (like e15), which the agent then uses for clicks, typing, and uploads. Beyond core interaction, it covers multi-tab handling, cookies and web storage, request mocking, console/network inspection, tracing, and video recording. Its frontmatter uses Claude Code's `allowed-tools: Bash(playwright-cli:*)` syntax, so it is a Claude Code-style skill file that needs minor edits to port elsewhere.

Runs the playwright-cli command-line tool: opens browser sessions (choosing chrome/firefox/webkit/msedge or a persistent profile), navigates pages, uses snapshot to obtain element refs, then performs click/type/fill/select/upload/hover/drag actions, captures page or element screenshots, exports PDFs, evaluates JavaScript (eval / run-code), manages tabs, saves and loads cookies/localStorage/sessionStorage, mocks network responses with route, inspects console and network logs, and runs tracing or records WebM video. Seven references/ documents cover request mocking, test generation, session management, and more.

  1. A frontend developer wants an agent to run end-to-end checks on a local or live web app: open pages, interact, and verify via snapshots and screenshots
  2. A QA engineer needs to batch-fill forms, submit them, and capture result screenshots instead of manual regression passes
  3. A data analyst extracting information from pages where a saved storage state can restore an authenticated session
  4. A debugger investigating frontend issues by reading console errors and network requests, replaying steps under tracing
  5. A QA team generating test code or recording operation videos to attach to bug reports

What are this skill's strengths and limitations?

Pros
  • Extremely broad command coverage: interaction, tabs, storage, network mocking, DevTools, tracing, and video in one tool
  • Snapshot-ref interaction model is LLM-friendly and more stable than coordinates or CSS selectors
  • Named sessions and persistent profiles suit multi-task workflows that need login state
  • Strong documentation with ready-made form, multi-tab, and debugging examples plus seven reference guides
Limitations
  • Frontmatter uses Claude Code's `allowed-tools: Bash(...)` syntax and needs manual adjustment on other platforms
  • Standalone installation of the playwright-cli binary is not fully documented in the source
  • Requires a real browser environment and network access; sandboxed or offline setups cannot run it
  • The repo README describes the whole VoltAgent platform and says nothing about this skill's capabilities — evaluation must rely on SKILL.md alone

How do you install this skill?

The skill lives at examples/with-workspace/workspace/skills/playwright-cli/ in the VoltAgent repo, containing SKILL.md and a references/ folder. Copy that folder into your Agent Skills client's skills directory. SKILL.md mentions playwright-cli install --skills and playwright-cli install-browser, but the source does not document a standalone installation channel for the playwright-cli binary itself — consult its own docs for that.

How do you use this skill?

After installing a browser, trigger it with natural language, e.g.: 'Open https://example.com, fill in [email protected], submit the form, then take a screenshot.' The agent follows the SKILL.md flow: playwright-cli open <url>snapshot to get refs → fill/click interactions → screenshotclose. Use --browser=chrome to pick a browser and -s=<name> to manage multiple concurrent named sessions.

How does this skill compare with similar options?

The source names no direct competitor. A sponsor blurb in the README claims Ego Lite is 3.45x faster than agent-browser (Vercel), but that is sponsored content about the VoltAgent platform overall and cannot serve as an objective comparison for this skill.

FAQ

What runtime environment is required?
A shell-capable environment, an installable browser (via `playwright-cli install-browser`), and network access. It cannot run in browser-less or offline sandboxes.
How is login state handled?
Use `state-save`/`state-load` to export/import auth state, set cookies or storage manually, or run with `--persistent` to keep a durable profile.
Can it run on platforms other than Claude Code?
The body is portable generic CLI documentation, but the `allowed-tools: Bash(playwright-cli:*)` frontmatter is Claude Code permission syntax that must be removed or rewritten when porting.
Does it cost anything?
The code is MIT-licensed (VoltAgent, Copyright © 2026-present), and SKILL.md references no paid services.

More skills from this repository

All from VoltAgent/voltagent

Related skills