using-playwright-mcp
Use when working with the Playwright MCP server, choosing the right browser tool call, or falling back to non-MCP Playwright surfaces when the MCP does not cover the task.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- using-playwright-mcp
- license
- MIT
- metadata
- { "owner": "Harley Bartles", "status": "active", "use_when": [ "working with the Playwright MCP server, choosing the right browser tool call, or falling back to non-MCP Playwright surfaces when the MCP does not cover the task." ], "source-id": "using-playwright-mcp", "source-path": "skills/using-playwright-mcp/SKILL.md", "do_not_use_when": [ "another more specific skill owns the task." ], "provenance-name": "Using Playwright MCP first-party skill", "source-category": "first_party" }
- description
- Use when working with the Playwright MCP server, choosing the right browser tool call, or falling back to non-MCP Playwright surfaces when the MCP does not cover the task.
02 资源文件 10
- 参考文档agents/openai.yaml574 B
- 资产文件assets/icon.svg1.7 KB
- 参考文档references/inspection.md1.3 KB
- 参考文档references/interactions.md1.7 KB
- 参考文档references/navigation-and-discovery.md1.1 KB
- 参考文档references/other-playwright-tools.md806 B
- 参考文档references/surface-map.md5.2 KB
- 参考文档references/tabs-and-lifecycle.md1.0 KB
- 参考文档tests/pressure-tests.md1.4 KB
- 参考文档tests/pressure/README.md931 B
03 SKILL.md 正文
Using Playwright MCP
Use this skill to pick the right mcp-playwright tool for browser automation or web inspection, and to fall back safely to other Playwright surfaces when the MCP does not have what you need.
Runtime availability
Inspect the tools exposed in the current runtime before calling MCP. This capability is available independently of repository subscriptions. If the MCP surface is absent or lacks the needed action, use a documented Playwright alternative only when it is actually available; otherwise report the missing capability and stop the dependent browser action.
Router
| Intent | Read first |
|---|---|
| Open a page, search for text, or capture a page snapshot | references/navigation-and-discovery.md |
| Click, type, hover, drag/drop, fill forms, select options, upload files, or handle dialogs | references/interactions.md |
| Evaluate JavaScript, read console, inspect network, or take screenshots | references/inspection.md |
| Manage tabs, resize, wait, or close the browser | references/tabs-and-lifecycle.md |
| The MCP does not cover the task; use another Playwright surface | references/other-playwright-tools.md |
| Need the complete callable surface | references/surface-map.md |
Fast rules
- MCP first. Start by routing to the use-case file that matches your intent.
- Confirm absence before exit. Before opening
references/other-playwright-tools.md, checkreferences/surface-map.mdor runmcp_list_toolsformcp-playwrightto confirm the needed tool is not there. - Environment check for fallbacks. Before using a non-MCP Playwright tool, run
inspecting-the-environmentto confirm it is installed and available.
04 同仓库更多 Skills
writing
Use when drafting, revising, or reviewing prose for human readers and clarity, an authorised voice, or reader-fatigue concerns may interact.
writing-with-clarity
Use when drafting, revising, or reviewing prose intended for human readers, including documentation, README files, reports, explanations, UI copy, errors, comments, commit messages, and pull request text.
writing-style
Use when revising or reviewing human-facing prose against an authorised voice card or a contextual reader-fatigue profile.
skill
暂无简介
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment.
writing-roadmaps
Use when a goal is too large for one writing-plans plan and requires a sequenced roadmap of consecutive plans.