pkg.soopen package index

brew / rank 1321

Install playwright-cli with Homebrew

CLI for Playwright: record/generate code, inspect selectors, take screenshots. Version 0.1.23 via Homebrew; verified 2026-11-01.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install playwright-cli

local Homebrew formula metadata

overview

Package summary

CLI for Playwright: record/generate code, inspect selectors, take screenshots

Commands and aliases

  • playwright-cli

history

Project history and usage

Playwright CLI is Microsoft's command-line browser-automation interface for coding agents. It exposes navigation, interaction, inspection, screenshots, recording, storage, tracing, and code-generation workflows through token-conscious commands and accessibility snapshots.

Project history

Microsoft developed Playwright as cross-browser automation software for Chromium, Firefox, and WebKit. The dedicated Playwright CLI later adapted that foundation to coding-agent workflows with compact commands, structured page snapshots, code generation, screenshots, tracing, storage management, and session control.

The CLI and Playwright MCP share browser-automation foundations but expose different interfaces: the CLI favors shell commands and skills, while MCP exposes structured protocol tools and persistent agent integration.

Adoption history

Playwright CLI extends Playwright from test-runner and library workflows into browser automation designed specifically for coding agents. Official installation supports a global command, use through a project's existing Playwright dependency, and optional agent skills.

Its documentation emphasizes token-efficient accessibility snapshots, persistent named sessions, and a dashboard for observing or taking over agent-driven browser sessions.

How it is used

Initialize a workspace with `playwright-cli install`, open a page, and use snapshot references with commands such as `click`, `fill`, `screenshot`, and `generate-locator`. Named sessions allow multiple independent browser instances.

The CLI automatically reads global and workspace configuration files. Authentication state can be saved to a user-chosen JSON file with `state-save` and restored with `state-load`; official documentation warns that these files contain live authentication tokens and must not be committed.

Why package nerds care

Playwright CLI represents the packaging of browser automation as an agent-facing command-line primitive. It is notable for combining a conventional executable, workspace-local configuration, installable agent skills, and stateful browser daemons while remaining usable through an existing Playwright dependency.

Timeline

  • 2020: Microsoft publicly introduced Playwright-based cross-browser automation.
  • 2026: Playwright's dedicated Agent CLI documentation describes workspace initialization, agent skills, named sessions, configuration, and an interactive dashboard.

Related projects

  • Playwright is the underlying browser-automation project.
  • Playwright MCP exposes related automation capabilities through the Model Context Protocol and is the closest official alternative interface.

security posture

No protected-tool coverage found yet

No matching local secret-handling manifest was found for playwright-cli. Package metadata is still published here so future coverage has a stable package URL.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 1 platform targets.
  • Installs with 1 runtime dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.playwright/cli.config.json./.playwright/cli.config.json

executables

Installed executables

CommandKindExposureNote
playwright-clicliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-11-04
manager version0.1.23
manager updated2026-11-01
local dataok
upstreamnot checked
latest detectednot detected

https://playwright.dev

install metadata

Package metadata

Package keybrew:playwright-cli
Version0.1.23
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/playwright-cli
Homepagehttps://playwright.dev
Upstream docshttps://playwright.dev
LicenseApache-2.0
Source archivehttps://registry.npmjs.org/@playwright/cli/-/cli-0.1.23.tgz
Last updated2026-11-01T18:15:34Z
Pulseupdated
Dependenciesnode
Bottleavailable (on all)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameplaywright-cli
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation