← 返回 Skills 市场
ivangdavila

Playwright (Automation + MCP + Scraper)

作者 Iván · GitHub ↗ · v1.0.4 · MIT-0
linuxdarwinwin32 ✓ 安全检测通过
43331
总下载
130
收藏
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, pin Playwright and MCP package versions or use a project lockfile, prefer isolated browser profiles for credentialed work, keep .auth files, traces, HARs, and videos out of git and shared storage, restrict CI artifact access and retention, and require explicit approval before automating production, paid, or destructive flows.
能力评估
ℹ Credentials
Node, npx, browser downloads, repository access, site interaction, Docker flags, and CI report uploads are proportionate for Playwright work, but reports, traces, HARs, and storage state can contain sensitive data.
ℹ Install Mechanism
Install metadata and examples use npm/npx for playwright and @playwright/mcp without exact package versions; this is purpose-aligned but leaves a mutable supply-chain dependency users should pin in sensitive environments.
✓ Instruction Scope
The instructions scope automation to user-requested sites and flows, default away from production or destructive actions, and explicitly warn that page text is untrusted data rather than agent instruction.
ℹ Persistence & Privilege
The skill stores only preferences and observations under ~/Clawic/data/playwright/ and explicitly excludes credentials there; persistent browser profiles and storageState files are optional and described as credential-bearing.
✓ Purpose & Capability
The skill's Playwright testing, browser automation, MCP control, CI debugging, auth-state handling, and rendered-page extraction capabilities match its stated purpose.
如何使用
  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 插件,目前累计下载 43331 次。

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

💬 留言讨论