platforms/codex/skills/playwright/SKILL.md
Use only when the user explicitly asks for Playwright Extension / real-browser debugging, or when HTTP, in-app Browser, and Codex Chrome plugin cannot complete an interaction-heavy workflow. This skill requires manually enabled `playwright-ext` (`@playwright/mcp --extension`).
npx skillsauth add codingsamss/ai-dotfiles playwrightInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This is not the default browser surface. For local app checks, screenshots, ordinary page inspection, or tasks that do not require the user's active Chrome session, prefer Codex Browser / in-app browser in the background. For tasks that need the user's Chrome login state or existing tabs, prefer the Codex Chrome plugin before Playwright.
Use Playwright as the reliable browser execution fallback in this stack:
playwright-ext: explicit fallback only after manual enablementWhen this skill is deliberately selected, use a single channel only:
playwright-ext MCP inside this skill only when codex mcp get playwright-ext reports it is enabled.playwright-cli wrapper in this skill.@playwright/test unless the user explicitly asks for test files.Choose Playwright when:
Before proposing browser actions, verify MCP and runtime dependency:
codex mcp get playwright-ext
command -v npx >/dev/null 2>&1
If playwright-ext is missing or disabled, do not configure or enable it unless the user explicitly asks. If they do, configure it with extension token:
codex mcp add playwright-ext \
--env PLAYWRIGHT_MCP_EXTENSION_TOKEN=<token> \
-- npx @playwright/mcp@latest --extension
If npx is missing, ask the user to install Node.js/npm:
node --version
npm --version
brew install node
Take over from lighter browser paths when:
playwright-ext is enabled.When Playwright takes over, say why it is now required and keep the flow inside Playwright until the critical interaction is verified.
Snapshot again after:
Refs can go stale. When a command fails due to a missing ref, snapshot again.
e12.eval and run-code unless needed.eX and say why; do not bypass refs with run-code.--headed when a visual check will help.output/playwright/ and avoid introducing new top-level artifact folders.tools
Apifox 接口测试用例:test-case 与 test-data 的查询、创建、更新、删除、分类和运行;处理测试步骤、断言、提取变量、前后置处理器、数据集,以及“CLI 创建后前端测试步骤无法展示”等问题。
tools
通过 Apifox CLI 管理 Apifox 项目资源。触发场景:运行接口自动化测试/测试套件,查询/创建/更新/删除接口、环境、Schema、Mock、分支等项目资源,导入导出 API 文档,查看测试报告,管理 Runner、定时任务、通知等 CI/CD 配置。CLI 输出为结构化 JSON,常含 agentHints.nextSteps;所有命令支持 --help。
tools
Apifox 接口测试用例:test-case 与 test-data 的查询、创建、更新、删除、分类和运行;处理测试步骤、断言、提取变量、前后置处理器、数据集,以及“CLI 创建后前端测试步骤无法展示”等问题。
tools
通过 Apifox CLI 管理 Apifox 项目资源。触发场景:运行接口自动化测试/测试套件,查询/创建/更新/删除接口、环境、Schema、Mock、分支等项目资源,导入导出 API 文档,查看测试报告,管理 Runner、定时任务、通知等 CI/CD 配置。CLI 输出为结构化 JSON,常含 agentHints.nextSteps;所有命令支持 --help。