pkg.soopen package index

brew / 排名 1321

使用 Homebrew 安装 playwright-cli

查看 playwright-cli 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install playwright-cli

local Homebrew formula metadata

概览

软件包摘要

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

命令和别名

  • playwright-cli

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

  • 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.

安全态势

尚未找到受保护工具覆盖

没有找到 playwright-cli 的匹配本地密钥处理 manifest。软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 安装时包含 1 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
playwright-clicli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本0.1.23
管理器更新时间2026-11-01
本地数据OK
上游not checked
检测到的最新版本未检测到

https://playwright.dev

安装元数据

软件包元数据

软件包键brew:playwright-cli
版本0.1.23
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/playwright-cli
主页https://playwright.dev
上游文档https://playwright.dev
许可证Apache-2.0
源码归档https://registry.npmjs.org/@playwright/cli/-/cli-0.1.23.tgz
最后更新2026-11-01T18:15:34Z
Pulseupdated
依赖node
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • 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