Token导航 LogoToken导航

Agent Skill · 研究检索

xiaomolong-playwright(xiaomolong Playwright 搜索)

用于辅助测试设计、自动化测试、用例整理和回归验证。它适合让 Agent 编写单元测试、端到端测试、测试计划或根据失败日志定位问题。使用时需要确认项目测试框架、运行命令和夹具数据,避免为了通过测试而改坏真实逻辑;涉及浏览器或外部服务时,应区分本地模拟、测试环境和生产环境。

xiaomolong-playwright 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为操作浏览器;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 23,624。

总安装 4,218周安装 174GitHub Stars 公开资料未说明下载 1,378核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:xiaomolong-playwright(xiaomolong Playwright 搜索)
来源仓库:https://github.com/linbo405/xiaomolong-playwright
安装命令:
openclaw skills install xiaomolong-playwright
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install xiaomolong-playwright

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

xiaomolong Playwright 用于浏览器自动化测试与用例验证,适合编写端到端测试或定位失败日志问题。适用于项目回归测试、测试计划整理及真实浏览器流程调试,提升测试设计效率。通过 Playwright MCP 实现页面导航、表单填写与数据提取,支持截屏与交互调试。

安装命令:openclaw skills install xiaomolong-playwright,需确认测试框架与运行命令。涉及外部服务时应区分本地模拟与生产环境,避免为通过测试而修改真实逻辑。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install xiaomolong-playwright;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

xiaomolong-playwright 怎么安装?

在终端执行 openclaw skills install xiaomolong-playwright。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

xiaomolong-playwright 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

xiaomolong-playwright 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

xiaomolong-playwright 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

xiaomolong-playwright 用的人多吗?

公开数据是累计安装 4,218 次,近一周安装 174 次,下载 1,378 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

xiaomolong-playwright 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
xiaomolong-playwright

xiaomolong Playwright 搜索 · 本页

4,218—操作浏览器MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
Playwright (Automation + MCP + Scraper)
slug
playwright
version
1.0.3
homepage
https://clawic.com/skills/playwright
description
Browser automation via Playwright MCP. Navigate websites, click elements, fill forms, take screenshots, extract data, and debug real browser workflows. Use when (1) you need a real browser, not static fetch; (2) the task involves Playwright MCP, browser tools, Playwright tests, scripts, or JS-rendered pages; (3) the user wants navigation, forms, screenshots, PDFs, downloads, or browser-driven extraction turned into a reliable outcome.
changelog
Clarified the MCP-first browser automation flow and improved quick-start guidance for forms, screenshots, and extraction.
metadata
{"clawdbot":{"emoji":"P","requires":{"bins":["node","npx"]},"os":["linux","darwin","win32"],"install":[{"id":"npm-playwright","kind":"npm","package":"playwright","bins":["playwright"],"label":"Install Playwright"},{"id":"npm-playwright-mcp","kind":"npm","package":"@playwright/mcp","bins":["playwright-mcp"],"label":"Install Playwright MCP (optional)"}]}}

When to Use

Use this skill for real browser tasks: JS-rendered pages, multi-step forms, screenshots or PDFs, UI debugging, Playwright test authoring, MCP-driven browser control, and structured extraction from rendered pages.

Prefer it when static fetch is insufficient or when the task depends on browser events, visible DOM state, authentication context, uploads or downloads, or user-facing rendering.

If the user mainly wants the agent to drive a browser with simple actions like navigate, click, fill, screenshot, download, or extract, treat MCP as a first-class path.

Use direct Playwright for scripts and tests. Use MCP when browser tools are already in the loop, the user explicitly wants MCP, or the fastest path is browser actions rather than writing new automation code.

Primary fit is repo-owned browser work: tests, debugging, repros, screenshots, and deterministic automation. Treat rendered-page extraction as a secondary use case, not the default identity.

Architecture

This skill is instruction-only. It does not create local memory, setup folders, or persistent profiles by default.

Load only the smallest reference file needed for the task. Keep auth state temporary unless the repository already standardizes it and the user explicitly wants browser-session reuse.

Quick Start

MCP browser path

npx @playwright/mcp --headless

Use this path when the agent already has browser tools available or the user wants browser automation without writing new Playwright code.

Common MCP actions

Typical Playwright MCP tool actions include:

  • browser_navigate for opening a page
  • browser_click and browser_press for interaction
  • browser_type and browser_select_option for forms
  • browser_snapshot and browser_evaluate for inspection and extraction
  • browser_choose_file for uploads
  • screenshot, PDF, trace, and download capture through the active browser workflow

Common browser outcomes

GoalTypical MCP-style action
Open and inspect a sitenavigate, wait, inspect, screenshot
Complete a formnavigate, click, fill, select, submit
Capture evidencescreenshot, PDF, download, trace
Pull structured page datanavigate, wait for rendered state, extract
Reproduce a UI bugheaded run, trace, console or network inspection

Existing test suite

npx playwright test
npx playwright test --headed
npx playwright test --trace on

Bootstrap selectors and flows

npx playwright codegen https://example.com

Direct script path

const { chromium } = require('playwright');

(async () => {
  const browser = await chromium.launch({ headless: true });
  const page = await browser.newPage();
  await page.goto('https://example.com');
  await page.screenshot({ path: 'page.png', fullPage: true });
  await browser.close();
})();

Quick Reference

TopicFile
Selector strategy and frame handlingselectors.md
Failure analysis, traces, logs, and headed runsdebugging.md
Test architecture, mocks, auth, and assertionstesting.md
CI defaults, retries, workers, and failure artifactsci-cd.md
Rendered-page extraction, pagination, and respectful throttlingscraping.md

Approach Selection

SituationBest pathWhy
Static HTML or a simple HTTP response is enoughUse a cheaper fetch path firstFaster, cheaper, less brittle
You need a reliable first draft of selectors or flowsStart with codegen or a headed exploratory runFaster than guessing selectors from source or stale DOM
Local app, staging app, or repo-owned E2E suiteUse @playwright/testBest fit for repeatable tests and assertions
One-off browser automation, screenshots, downloads, or rendered extractionUse direct Playwright APISimple, explicit, and easy to debug in code
Agent/browser-tool workflow already depends on browser_* tools or the user wants no-code browser controlUse Playwright MCPFastest path for navigate-click-fill-screenshot workflows
CI failures, flake, or environment driftStart with debugging.md and ci-cd.mdTraces and artifacts matter more than new code

Core Rules

1. Test user-visible behavior and the real browser boundary

  • Do not spend Playwright on implementation details that unit or API tests can cover more cheaply.
  • Use Playwright when success depends on rendered UI, actionability, auth, uploads or downloads, navigation, or browser-only behavior.

2. Make runs isolated before making them clever

  • Keep tests and scripts independent so retries, parallelism, and reruns do not inherit hidden state.
  • Extend the repository's existing Playwright harness, config, and fixtures before inventing a parallel testing shape from scratch.
  • Do not share mutable accounts, browser state, or server-side data across parallel runs unless the suite was explicitly designed for it.

3. Reconnaissance before action

  • Open, wait, and inspect the rendered state before locking selectors or assertions.
  • Use codegen, headed mode, or traces to discover stable locators instead of guessing from source or stale DOM.
  • For flaky or CI-only failures, capture a trace before rewriting selectors or waits.

4. Prefer resilient locators and web-first assertions

  • Use role, label, text, alt text, title, or test ID before CSS or XPath.
  • Assert the user-visible outcome with Playwright assertions instead of checking only that a click or fill command executed.
  • If a locator is ambiguous, disambiguate it. Do not silence strictness with first(), last(), or nth() unless position is the actual behavior under test.

5. Wait on actionability and app state, not arbitrary time

  • Let Playwright's actionability checks work for you before reaching for sleeps or forced actions.
  • Prefer expect, URL waits, response waits, and explicit app-ready signals over generic timing guesses.

6. Control what you do not own

  • Mock or isolate third-party services, flaky upstream APIs, analytics noise, and cross-origin dependencies whenever the goal is to verify your app.
  • For rendered extraction, prefer documented APIs or plain HTTP paths before driving a full browser.
  • Do not make live third-party widgets or upstream integrations the reason your suite flakes unless that exact integration is what the user asked to validate.

7. Keep auth, production access, and persistence explicit

  • Do not persist saved browser state by default.
  • Reuse auth state only when the repository already standardizes it or the user explicitly asks for session reuse.
  • For destructive, financial, medical, production, or otherwise high-stakes flows, prefer staging or local environments and require explicit user confirmation before continuing.

Playwright Traps

  • Guessing selectors from source or using first(), last(), or nth() to silence ambiguity -> the automation works once and then flakes.
  • Starting a new Playwright structure when the repo already has config, fixtures, auth setup, or conventions -> the new flow fights the existing harness and wastes time.
  • Testing internal implementation details instead of visible outcomes -> the suite passes while the user path is still broken.
  • Sharing one authenticated state across parallel tests that mutate server-side data -> failures become order-dependent and hard to trust.
  • Reaching for force: true before understanding overlays, disabled state, or actionability -> the test hides a real bug.
  • Waiting on networkidle for chatty SPAs -> analytics, polling, or sockets keep the page "busy" even when the UI is ready.
  • Driving a full browser when HTTP or an API would answer the question -> more cost, more flake, less signal.
  • Treating third-party widgets and live upstream services as if they were stable parts of your own product -> failures stop being actionable.

External Endpoints

EndpointData SentPurpose
User-requested web originsBrowser requests, form input, cookies, uploads, and page interactions required by the taskAutomation, testing, screenshots, PDFs, and rendered extraction
https://registry.npmjs.orgPackage metadata and tarballs during optional installationInstall Playwright or Playwright MCP

No other data is sent externally.

Security & Privacy

Data that leaves your machine:

  • Requests sent to the websites the user asked to automate.
  • Optional package-install traffic to npm when installing Playwright tooling.

Data that stays local:

  • Source code, traces, screenshots, videos, PDFs, and temporary browser state kept in the workspace or system temp directory.

This skill does NOT:

  • Create hidden memory files or local folder systems.
  • Recommend browser-fingerprint hacks, challenge-solving services, or rotating exits.
  • Persist sessions or credentials by default.
  • Make undeclared network requests beyond the target sites involved in the task and optional tool installation.
  • Treat high-stakes production flows as safe to automate without explicit user direction.

Trust

By using this skill, browser requests go to the websites you automate and optional package downloads go through npm. Only install if you trust those services and the sites involved in your workflow.

Related Skills

Install with clawhub install <slug> if user confirms:

  • web - HTTP-first investigation before escalating to a real browser.
  • scrape - Broader extraction workflows when browser automation is not the main challenge.
  • screenshots - Capture and polish visual artifacts after browser work.
  • multi-engine-web-search - Find and shortlist target pages before automating them.

Feedback

  • If useful: clawhub star playwright
  • Stay updated: clawhub sync

平台分布

OpenClaw

77.55%
按下载量换算1,069

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills