playwriter
Playwriter拡張機能とPlaywrightコードを介して、ユーザーのChromeブラウザを制御します。
npx skills add remorses/playwriter --skill playwriterBefore / After 効果比較
1 组ブラウザの自動化テストやスクリプト作成には、通常、複雑なPlaywrightコードと環境設定が必要です。非技術ユーザーには実装が難しく、技術ユーザーも多大な労力を費やす必要があります。
Playwriter拡張機能を使用すると、Playwrightコードを介してChromeブラウザを直接制御できます。これにより、自動化プロセスが簡素化され、複雑な設定が不要になり、ブラウザ操作の効率が向上します。
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)
レビューを書く
レビューなし
統計データ
ユーザー評価
この Skill を評価