Microsoft.Playwright.CLI
$ cli Community Med RiskMicrosoft.Playwright.CLI (cli) — Playwright enables reliable end-to-end testing for modern web apps. It is built to enable cross-browser web automation that is ever-green, capable, reliable and fast. Learn more at https://playwright.dev/dotnet/.. Verified across NuGet DotnetTool; included for structured shell automation under FCRS-1.0 baseline review.
dotnet tool install -g Microsoft.Playwright.CLI Calling cli directly via shell lets agents filter stdout and avoid upfront MCP schema context bloat; start from cli --help before write commands.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Registry-verified CLI binary (cli); inspect --help output before assuming structured JSON flags.
- Indexed in NuGet DotnetTool
Classified as medium risk based on browser-web scope and upstream package metadata.
- Install channel verified via
dotnet tool install -g Microsoft.Playwright.CLI - Package checksum verified by upstream registry
Installable via dotnet tool install -g Microsoft.Playwright.CLI across macos, linux, windows.
- Primary install:
dotnet tool install -g Microsoft.Playwright.CLI
Playwright enables reliable end-to-end testing for modern web apps. It is built to enable cross-browser web automation that is ever-green, capable, reliable and fast. Learn more at https://playwright.dev/dotnet/.
- Official homepage/source: https://github.com/microsoft/playwright-dotnet
community lineage tool maintained by Microsoft.
- Upstream repository: microsoft/playwright-dotnet
Upstream documentation linked at https://github.com/microsoft/playwright-dotnet; baseline FCRS cap applies until local probe runs.
- https://github.com/microsoft/playwright-dotnet
Security, Auth & Guardrails
Configured via service environment variables or local profile config file; verify provider docs before granting agent access.
Local binary is free; remote API or cloud resource actions depend on your vendor account quotas.
When invoking `cli`, verify flags with `cli --help` first, close stdin to avoid interactive prompts, and require confirmation before remote or destructive mutations.
Agent-Ready Command Recipes
Safe Read-Only Queries
cli --help
Discover supported flags and subcommands for cli before constructing automated calls.
cli --version
Confirm cli is installed and executable in PATH with zero side effects.
Strengths for Agents
- + Indexed in NuGet DotnetTool with reproducible install via
dotnet tool install -g Microsoft.Playwright.CLI - + Standalone CLI binary (
cli) directly composable in shell pipelines
Caveats & Pitfalls
- ! Low-confidence baseline review: not yet locally probed on this host; run
cli --helpto verify flags before scripting