ワンクリックで
playwright-cli
Automate browser interactions, test web pages and work with Playwright tests.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Automate browser interactions, test web pages and work with Playwright tests.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
Guide for adding HTTP API routes in go-revjs. Use when creating new route modules or REST-style endpoints.
Guide for creating new biz modules in go-revjs. Use when adding business logic modules or generated biz/repo scaffolding.
Apply Go best practices, idioms, and conventions when writing, reviewing, or refactoring go-revjs backend code.
Use when designing or refactoring react-revjs frontend pages that should feel compact, refined, content-dense, tool-like, doc-like, or suitable for search/detail/BBS style content pages instead of marketing landing pages.
Use when adding or changing js-deob cases, transforms, decoder handling, switch-flattening rules, or deobfuscation pattern support. Requires adding or updating focused tests for the new case and running the full js-deob test suite to confirm existing behavior is not broken.
Use when a react-revjs page component has substantial logic (state, derived values, handlers, side effects) that should be extracted into a dedicated hook file so the TSX file is reduced to pure rendering.
SOC 職業分類に基づく
| name | playwright-cli |
| description | Automate browser interactions, test web pages and work with Playwright tests. |
| allowed-tools | Bash(playwright-cli:*) Bash(npx:*) Bash(npm:*) |
playwright-cli open # open new browser
playwright-cli goto https://playwright.dev # navigate
playwright-cli snapshot # get accessibility tree with element refs (e.g. e15)
playwright-cli click e15
playwright-cli type "search query"
playwright-cli fill e5 "user@example.com" --submit
playwright-cli press Enter
playwright-cli screenshot
playwright-cli close
# Interaction
playwright-cli click <ref>
playwright-cli dblclick <ref>
playwright-cli fill <ref> "value" [--submit]
playwright-cli type "text"
playwright-cli drag <ref-from> <ref-to>
playwright-cli hover <ref>
playwright-cli select <ref> "option-value"
playwright-cli upload ./file.pdf
playwright-cli check <ref>
playwright-cli uncheck <ref>
playwright-cli eval "expression" [ref]
playwright-cli dialog-accept ["text"]
playwright-cli dialog-dismiss
playwright-cli resize <width> <height>
# Navigation
playwright-cli goto <url>
playwright-cli go-back
playwright-cli go-forward
playwright-cli reload
# Keyboard
playwright-cli press <Key>
playwright-cli keydown <Key>
playwright-cli keyup <Key>
# Tabs
playwright-cli tab-list
playwright-cli tab-new [url]
playwright-cli tab-close [index]
playwright-cli tab-select <index>
# Output
playwright-cli snapshot [ref] [--filename=file.yml] [--depth=N]
playwright-cli screenshot [ref] [--filename=page.png]
playwright-cli pdf [--filename=page.pdf]
# Storage
playwright-cli state-save [file]
playwright-cli state-load <file>
playwright-cli cookie-get <name>
playwright-cli cookie-set <name> <value>
playwright-cli localstorage-get <key>
playwright-cli localstorage-set <key> <value>
# Session management
playwright-cli -s=<name> open [url] [--persistent] [--profile=<path>]
playwright-cli list
playwright-cli close-all
Prefer refs from snapshot output (e.g. e15). Also accepts CSS selectors and Playwright locators:
playwright-cli click "#main > button.submit"
playwright-cli click "getByRole('button', { name: 'Submit' })"
playwright-cli click "getByTestId('submit-button')"
Pass --raw to strip status/snapshot sections and return only the result value — useful for piping:
playwright-cli --raw eval "document.title"
playwright-cli --raw localstorage-get theme
playwright-cli --raw snapshot > before.yml
playwright-cli open --browser=chrome|firefox|webkit|msedge
playwright-cli open --persistent [--profile=/path/to/profile]
playwright-cli attach --extension
If playwright-cli is not installed globally:
npm install -g @playwright/cli@latest
# or use local version:
npx --no-install playwright-cli --version