← 返回 Skills 市场
ivangdavila

Playwright (Automation + MCP + Scraper)

作者 Iván · GitHub ↗ · v1.0.4 · MIT-0
linuxdarwinwin32 ✓ 安全检测通过
41515
总下载
129
收藏
0
当前安装
5
版本数
在 OpenClaw 中安装
/install playwright
功能描述
Automates, tests, and debugs browsers with Playwright: locators, auto-waiting, traces, CI runs, and MCP browser control. Use when a test is flaky, times out, or fails only in CI or headless; when a locator matches multiple elements or the wrong one (strict mode violation); when clicks need force, waits become sleeps, or networkidle never settles; for storageState and login setup, request mocking and HAR replay, uploads and downloads, iframes and shadow DOM, popups and dialogs, screenshot diffs that change per machine, trace and report artifacts, sharding a slow suite, device and permission emulation, accessibility checks, driving a real browser through Playwright MCP, extracting data from JS-rendered pages, or porting a Cypress, Puppeteer, or Selenium suite to Playwright. Not for maintaining an existing Cypress or Puppeteer suite (cypress, puppeteer) or for work a plain HTTP request answers (http).
安全使用建议
Before installing, be aware that this skill can guide browser automation, authenticated test sessions, optional MCP browser control, and scraping workflows. Keep auth state and traces out of git, prefer local or staging targets, and require explicit approval for production, payment, deletion, or broad extraction tasks.
能力评估
Credentials
It reads repository conventions and a local preference folder under ~/Clawic/data/playwright/, which fits the purpose; it directs generated test artifacts to the repository or temp directories and excludes credentials from the preference folder.
Install Mechanism
Install metadata declares expected npm packages for Playwright and optional Playwright MCP; the artifact files are markdown/json with no executable scripts, and network access is disclosed for npm and browser binary downloads.
Instruction Scope
The skill covers high-impact browser automation, MCP control, authentication reuse, and scraping, but scopes these to user-requested sites and includes opt-in requirements for production, payments, deletions, logged-in production sessions, and destructive actions.
Persistence & Privilege
Persistent preferences and memory are disclosed, while credentials, storageState, traces, videos, reports, and persistent browser profiles are warned about and kept user-directed or gitignored.
Purpose & Capability
The stated purpose is Playwright testing, debugging, browser control, CI guidance, and bounded extraction; the artifact content consistently supports those capabilities without unrelated behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install playwright
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /playwright 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.4
Full coverage pass: deeper guides, situation-named files, and per-user configuration
v1.0.3
Clarified the MCP-first browser automation flow and improved quick-start guidance for forms, screenshots, and extraction.
v1.0.2
Rewritten with MCP integration and scraping focus. Now covers standalone use and MCP server setup.
v1.0.1
Rewritten with MCP integration and scraping focus. Now covers standalone use and MCP server setup.
v1.0.0
Initial release
元数据
Slug playwright
版本 1.0.4
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 5
常见问题

Playwright (Automation + MCP + Scraper) 是什么?

Automates, tests, and debugs browsers with Playwright: locators, auto-waiting, traces, CI runs, and MCP browser control. Use when a test is flaky, times out, or fails only in CI or headless; when a locator matches multiple elements or the wrong one (strict mode violation); when clicks need force, waits become sleeps, or networkidle never settles; for storageState and login setup, request mocking and HAR replay, uploads and downloads, iframes and shadow DOM, popups and dialogs, screenshot diffs that change per machine, trace and report artifacts, sharding a slow suite, device and permission emulation, accessibility checks, driving a real browser through Playwright MCP, extracting data from JS-rendered pages, or porting a Cypress, Puppeteer, or Selenium suite to Playwright. Not for maintaining an existing Cypress or Puppeteer suite (cypress, puppeteer) or for work a plain HTTP request answers (http). 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 41515 次。

如何安装 Playwright (Automation + MCP + Scraper)?

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

Playwright (Automation + MCP + Scraper) 是免费的吗?

是的,Playwright (Automation + MCP + Scraper) 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Playwright (Automation + MCP + Scraper) 支持哪些平台?

Playwright (Automation + MCP + Scraper) 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(linux, darwin, win32)。

谁开发了 Playwright (Automation + MCP + Scraper)?

由 Iván(@ivangdavila)开发并维护,当前版本 v1.0.4。

💬 留言讨论