Skip to content

playwright-cli

Official Playwright CLI browser automation. Complements curated `playwright-best-practices` (test patterns) with operational CLI control.

playwright-cli23 wordsInspect firstinspect-then-install
Official Playwright CLI browser automation. Complements curated `playwright-best-practices` (test patterns) with operational CLI control.

Quick Start

Install:

npx skills add microsoft/playwright-cli --skill playwright-cli -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode

Use: /playwright-cli

Works with Claude Code, Gemini CLI, OpenCode, and other agentskills.io-compatible agents.

Official microsoft/playwright-cli. CLI (with SKILL) for common Playwright browser actions: open/goto/type/click/fill/screenshot/pdf/eval, tabs, storage, network route, tracing, video, sessions, dashboard. Token-efficient (avoids full a11y trees). For coding agents (better than MCP for some high-throughput cases per README). Node 18+. Headed/persistent options.

Targets verified harnesses: antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode.

Portable multi-harness install command:

Terminal window
npx skills add microsoft/playwright-cli --skill playwright-cli -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode

Trust tier: Inspect first (needs-inspection)

Curated status: inspect-then-install

Risk notes: Official Playwright CLI browser automation. Complements curated playwright-best-practices (test patterns) with operational CLI control.

Entry maintained via authoring + research for compose-external-wave-9; provenance and audit notes are authoritative there (research context is advisory).

npx skills add microsoft/playwright-cli —skill playwright-cli -y -g -a [agents]; npm global or npx; status=inspect-then-install.

FieldValue
Source Typecurated-external
Display Sourcemicrosoft/playwright-cli
Source Kindgithub
Installabilityportable command
Review Statecurated
Trust Tierneeds-inspection
Target Agentsantigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode
Curated catalog entry
docs/src/authoring/skills/playwright-cli.mdx (full SSOT excerpt)
---
name: "playwright-cli"
description: "Official Playwright CLI browser automation. Complements curated `playwright-best-practices` (test patterns) with operational CLI control."
title: "Playwright Cli"
source_kind: "curated-external"
source: "microsoft/playwright-cli"
install_source: "microsoft/playwright-cli"
status: "inspect-then-install"
trust_tier: "needs-inspection"
provenance_status: "verified-install-command"
install_command: "npx skills add microsoft/playwright-cli --skill playwright-cli -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode"
target_agents: [antigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode]
source_url: "https://github.com/microsoft/playwright-cli"
notes: "Official Playwright CLI browser automation. Complements curated `playwright-best-practices` (test patterns) with operational CLI control."
risk_notes: "Official Playwright CLI browser automation. Complements curated `playwright-best-practices` (test patterns) with operational CLI control."
promotion_policy: "Inspect source, hooks, scripts, credentials, and dedupe before install."
provenance_evidence: "Curated `npx skills add` command with named `--skill` selectors under `inspect-then-install` in config/external-skills.md."
---
{/* GENERATED-AUTHORING: source=config/external-skills.md; entry=playwright-cli; re-run migration to refresh */}
Official Playwright CLI browser automation. Complements curated `playwright-best-practices` (test patterns) with operational CLI control.

Install / provenance (from authoring frontmatter + research):

FieldValue
install_commandnpx skills add microsoft/playwright-cli --skill playwright-cli -y -g -a antigravity claude-code codex crush cursor gemini-cli github-copilot grok opencode
sourcemicrosoft/playwright-cli
source_urlhttps://github.com/microsoft/playwright-cli
trust_tierneeds-inspection
curated_statusinspect-then-install
target_agentsantigravity, claude-code, codex, crush, cursor, gemini-cli, github-copilot, grok, opencode