← 返回 Skills 市场
Playwright Browser Automation
作者
Spiceman161
· GitHub ↗
· v2.0.0
10547
总下载
10
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install playwright-browser-automation
功能描述
Browser automation using Playwright API directly. Navigate websites, interact with elements, extract data, take screenshots, generate PDFs, record videos, and automate complex workflows. More reliable than MCP approach.
安全使用建议
Install only if you need direct Playwright automation. Do not copy the sudoers NOPASSWD rules; run any required dependency installation manually with administrator approval and remove temporary elevation afterward. Keep screenshots, recordings, downloads, traces, and auth.json or storageState files out of shared folders and source control, and delete them when no longer needed.
功能分析
Type: OpenClaw Skill
Name: playwright-browser-automation
Version: 2.0.0
The skill bundle is classified as suspicious primarily due to the 'Sudoers Setup' instructions in `SKILL.md`. These instructions advise configuring `sudoers` to allow passwordless execution of `npx playwright install-deps *` and `npx playwright install *`. While presented as a setup step for Playwright, granting NOPASSWD for commands that download and install software is a significant privilege escalation risk, increasing the attack surface if the agent or system is compromised. Other capabilities like network access, file operations (screenshots, downloads, uploads), and arbitrary JavaScript execution via `page.evaluate()` are inherent to browser automation and align with the stated purpose, without explicit malicious intent in the provided examples.
能力评估
Purpose & Capability
The documented browser automation capabilities, including navigation, form actions, screenshots, PDFs, video recording, downloads, DOM evaluation, cookies, localStorage, and storageState reuse, match the stated Playwright automation purpose.
Instruction Scope
The instructions are mostly straightforward examples, but they show handling credentials, session cookies, localStorage tokens, saved auth state, and generated artifacts without much privacy, cleanup, or secret-handling guidance.
Install Mechanism
Normal npm and Playwright browser installation are expected, but the skill also recommends sudoers entries allowing passwordless root execution of wildcard npx Playwright install commands.
Credentials
Root-level dependency installation can be needed for Playwright on some Linux systems, but recurring NOPASSWD access for npx-driven install commands is broader than necessary for a browser automation guide.
Persistence & Privilege
The sudoers configuration would persist beyond a one-time setup and grant future elevated command execution; saved auth state files may also persist reusable sessions on disk.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install playwright-browser-automation - 安装完成后,直接呼叫该 Skill 的名称或使用
/playwright-browser-automation触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
Complete rewrite with direct Playwright API, best practices, working examples
元数据
常见问题
Playwright Browser Automation 是什么?
Browser automation using Playwright API directly. Navigate websites, interact with elements, extract data, take screenshots, generate PDFs, record videos, and automate complex workflows. More reliable than MCP approach. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 10547 次。
如何安装 Playwright Browser Automation?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install playwright-browser-automation」即可一键安装,无需额外配置。
Playwright Browser Automation 是免费的吗?
是的,Playwright Browser Automation 完全免费(开源免费),可自由下载、安装和使用。
Playwright Browser Automation 支持哪些平台?
Playwright Browser Automation 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。
谁开发了 Playwright Browser Automation?
由 Spiceman161(@spiceman161)开发并维护,当前版本 v2.0.0。
推荐 Skills