← 返回 Skills 市场
spiceman161

Playwright Browser Automation

作者 Spiceman161 · GitHub ↗ · v2.0.0
linuxdarwinwin32 ⚠ suspicious
9518
总下载
10
收藏
71
当前安装
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.
安全使用建议
Use this only if you need direct Playwright automation. Avoid installing the suggested sudoers rule; run any required Playwright dependency installation manually, review it first, and remove any temporary elevation afterward. Treat screenshots, recordings, downloads, cookies, and storageState files as sensitive because they may contain account data or session tokens.
功能分析
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 Playwright capabilities, including navigation, form interaction, screenshots, PDFs, video recording, file upload/download, DOM evaluation, cookies, localStorage, and storageState reuse, fit the stated browser automation purpose.
Instruction Scope
The skill clearly documents powerful browser automation patterns, including credentialed sessions and stored auth state, but gives little guidance on consent, sensitive-page handling, artifact storage, or cleanup.
Install Mechanism
The install guidance includes a sudoers snippet granting NOPASSWD access to /usr/bin/npx playwright install-deps * and /usr/bin/npx playwright install *, which is broader and more persistent than a normal one-time Playwright setup step.
Credentials
Root-level dependency installation can be needed for Playwright on Linux, but allowing future passwordless npx-driven installs is disproportionate for a general browser automation skill unless tightly controlled by the user.
Persistence & Privilege
The sudoers configuration persists beyond the skill run and grants recurring elevated authority; storageState examples can also persist authenticated browser sessions on disk.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install playwright-browser-automation
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /playwright-browser-automation 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
Complete rewrite with direct Playwright API, best practices, working examples
元数据
Slug playwright-browser-automation
版本 2.0.0
许可证
累计安装 316
当前安装数 71
历史版本数 1
常见问题

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 插件,目前累计下载 9518 次。

如何安装 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。

💬 留言讨论