P

playwriter

by @remorsesv
4.4(76)

通过Playwriter扩展和Playwright代码控制用户的Chrome浏览器。

scriptwritingcreative-writingstorytellingai-assisted-writingnarrative-designGitHub
安装方式
npx skills add remorses/playwriter --skill playwriter
compare_arrows

Before / After 效果对比

1
使用前

浏览器自动化测试或脚本编写通常需要复杂的Playwright代码和环境配置。非技术用户难以实现,技术用户也需投入大量精力。

使用后

Playwriter扩展允许用户通过Playwright代码直接控制Chrome浏览器。简化自动化流程,无需复杂配置,提升浏览器操作效率。

SKILL.md

REQUIRED: Read Full Documentation First

Before using playwriter, you MUST run this command:

playwriter skill # IMPORTANT! do not use | head here. read in full!

This outputs the complete documentation including:

  • Session management and timeout configuration
  • Selector strategies (and which ones to AVOID)
  • Rules to prevent timeouts and failures
  • Best practices for slow pages and SPAs
  • Context variables, utility functions, and more

Do NOT skip this step. The quick examples below will fail without understanding timeouts, selector rules, and common pitfalls from the full docs.

Read the ENTIRE output. Do NOT pipe through head, tail, or any truncation command. The skill output must be read in its entirety — critical rules about timeouts, selectors, and common pitfalls are spread throughout the document, not just at the top.

Minimal Example (after reading full docs)

playwriter session new
playwriter -s 1 -e 'await page.goto("https://example.com")'

Always use single quotes for the -e argument. Single quotes prevent bash from interpreting $, backticks, and backslashes inside your JS code. Use double quotes or backtick template literals for strings inside the JS.

If playwriter is not found, use npx playwriter@latest or bunx playwriter@latest.

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量3.7K
评分4.4 / 5.0
版本
更新日期2026年5月22日
对比案例1 组

用户评分

4.4(76)
5
24%
4
50%
3
24%
2
3%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

时间线

创建2026年3月16日
最后更新2026年5月22日