← 返回 Skills 市场
xinqian598188460

Playwright Cli Skills

作者 xinqian598188460 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
70
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install playwright-cli-skills
功能描述
Automate browser interactions, test web pages and work with Playwright tests.
安全使用建议
This skill appears to do what it says: automate Playwright-driven browser interactions and includes an Amazon scraping helper. Before installing or running it, consider: 1) Playwright CLI and Node must already be installed on your machine. 2) The amazon-search scripts load a local storage-state/auth file (e.g., ~/amazon-auth.json or a project-specific path) and will use cookies/storage from it — those files can contain session tokens; only use auth state you trust and remove it after use. 3) The skill and its docs expose run-code and routing features that can execute arbitrary JS in pages and capture network/request bodies and cookies (use isolated browser sessions or a throwaway profile if you are concerned). 4) The included scripts run local shell commands and write CSV/traces to your home directory; review the JS and shell files before running them and run in a sandboxed account or VM if you need extra safety. If you want, I can point out the exact lines that load auth files, execute shell commands, and write output so you can review them quickly.
功能分析
Type: OpenClaw Skill Name: playwright-cli-skills Version: 1.0.0 The bundle provides a comprehensive toolkit for browser automation using a 'playwright-cli' wrapper, including specific scripts for Amazon product search and data extraction. The scripts (amazon-search.sh and amazon-search.js) utilize local session state files (~/amazon-auth.json) to maintain authentication and execute JavaScript within the browser context to scrape product details into CSV files. While these tools possess high-risk capabilities such as arbitrary code execution in the browser and access to session cookies, their behavior is entirely consistent with the stated purpose of web automation and scraping. No evidence of data exfiltration, malicious persistence, or deceptive prompt injection was found in the code or documentation (SKILL.md, README.md).
能力评估
Purpose & Capability
Name/description (Playwright CLI automation & testing) match the provided SKILL.md, reference docs, and example scripts. The included amazon-search scripts use playwright-cli to open pages, load storage state, extract data, and write CSV output — all expected for a browser automation scraping helper.
Instruction Scope
The SKILL.md and reference docs allow and document powerful operations: run-code (arbitrary JS in the page), loading/saving storage state, cookie/localStorage manipulation, recording traces (which include network bodies), and routing/removing headers (including cookie/authorization). Those are legitimate and expected capabilities for a Playwright/testing skill, but they also let the skill access and persist sensitive data (cookies, tokens, page content) and execute arbitrary page JS—so operators should understand those capabilities before use.
Install Mechanism
No install spec is present (instruction-only). The skill does not pull code from remote URLs or install packages itself. Risk is limited to running local binaries (playwright-cli, node) which the user must already install.
Credentials
The skill declares no required env vars or credentials. Scripts use HOME and optional DEBUG env var to locate/read/write files (e.g., an auth state file and CSV output under the user's home). The Amazon scripts expect a saved auth state file; this is coherent but means the skill will access local storage-state files containing cookies/tokens if present.
Persistence & Privilege
always is false and the skill does not request to modify other skills or system-wide agent settings. It runs commands that create files under the user's home (auth state, CSV output, traces) which is normal for automation scripts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install playwright-cli-skills
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /playwright-cli-skills 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of playwright-cli skill. - Automate browser interactions and web page testing using the Playwright CLI. - Supports commands for navigation, input, mouse, keyboard, tabs, storage, network, and browser sessions. - Includes snapshotting, screenshots, PDF generation, and raw output options for advanced workflows. - Provides options for working with cookies, localStorage, sessionStorage, and browser profiles. - Offers support for multi-tab browsing, session management, and DevTools commands. - Installation instructions for both global and local CLI usage.
元数据
Slug playwright-cli-skills
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Playwright Cli Skills 是什么?

Automate browser interactions, test web pages and work with Playwright tests. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 70 次。

如何安装 Playwright Cli Skills?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install playwright-cli-skills」即可一键安装,无需额外配置。

Playwright Cli Skills 是免费的吗?

是的,Playwright Cli Skills 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Playwright Cli Skills 支持哪些平台?

Playwright Cli Skills 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Playwright Cli Skills?

由 xinqian598188460(@xinqian598188460)开发并维护,当前版本 v1.0.0。

💬 留言讨论