playwright
Playwright v1.65 (E2E / コンポーネントテストフレームワーク) リファレンス。 test, expect, page, locator, getByRole / getByText / getByLabel / getByTestId / getByRef、 toBeVisible, click, fill, route, mock, fixtures、playwright.config.ts、 auth 永続化、Credentials (passkeys / WebAuthn)、WebStorage、WebMCP、 Playwright MCP / playwright-cli、trace viewer、screencast、test locks (-exclusive-)、 failures reporter、codegen、UI モード。
How do I install this agent skill?
npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill playwrightIs this agent skill safe to install?
- Gen Agent Trust Hubpass
This skill provides a comprehensive documentation reference and implementation guide for the Playwright E2E testing framework (v1.65). It includes API documentation, best practices, implementation samples, and utility scripts for environment setup and CI/CD integration. No security risks or malicious patterns were identified; the skill promotes secure testing practices and includes explicit warnings about interacting with untrusted web content.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Playwright E2E テストフレームワーク リファレンス
Playwright の全 API ドキュメントを網羅したスキル。 ユーザーのタスクに応じて適切な README.md を読み、そこから個別ファイルへ辿ること。
対象: Playwright v1.65.1(出典 microsoft/playwright v1.65.1 タグの docs/src、取得 2026-11-14)。v1.65 で変更のあったページ(reporters / annotations / parallelism / sharding / cli / typescript / auto-waiting / browser-context / request / api-testing / network / aria-snapshots / authentication / navigations / assertions / timeouts / ui-mode / clock / ci / browsers / mcp)のみ v1.65.1 で再取得した。他のページの Source: 行は v1.64.1 のまま(v1.64.1 と v1.65.1 の docs/src を diff -r し、API 型注記の書式変更など内容に影響しない差分は反映していない)。未追従: samples の各ファイルは v1.64 前提のまま(v1.65 の差分は references の Notes に記載)。
ディレクトリ構成
skills/playwright/
SKILL.md
references/
getting-started/
README.md
ci.md
running-and-debugging.md
writing-tests.md
test-runner/
README.md
annotations.md
configuration.md
fixtures.md
global-setup.md
parallelism.md
projects.md
reporters.md
retries.md
sharding.md
timeouts.md
web-server.md
core-concepts/
README.md
actions.md
assertions.md
auto-waiting.md
emulation.md
frames.md
isolation.md
locators.md
pages.md
guides/
README.md
accessibility.md
api-testing.md
aria-snapshots.md
authentication.md
best-practices.md
clock.md
dialogs-downloads.md
events.md
mock-apis.md
mock-browser-apis.md
navigations.md
network.md
parameterize.md
pom.md
screenshots.md
videos.md
visual-testing.md
webview2.md
tooling/
README.md
cli.md
codegen.md
mcp.md
playwright-cli.md
test-agents.md
trace-viewer.md
ui-mode.md
advanced/
README.md
browsers.md
chrome-extensions.md
component-testing.md
evaluate.md
service-workers.md
typescript.md
api/
README.md
assertions.md
browser-context.md
credentials.md
locator.md
page.md
request.md
screencast.md
tracing.md
web-storage.md
webmcp.md
samples/
README.md
accessibility-testing.md
api-testing.md
authentication.md
basic-test.md
codegen.md
configuration.md
custom-fixtures.md
device-emulation.md
dialog-handling.md
locators.md
network-mocking.md
page-object-model.md
parameterized-tests.md
visual-testing.md
scripts/
README.md
install.md
cli.md
generate.md
debug.md
ci.md
mcp-cli.md
探索手順
タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:
- 下記マッピング表でタスクに対応するカテゴリを探す
- そのカテゴリの
references/{category}/README.mdを参照して目的のページを特定する - 該当ページの
.mdを Read して詳細を確認する
タスク → カテゴリ マッピング
| タスク | カテゴリ | 参照 README |
|---|---|---|
| テスト作成の基本、最初のテスト、CI セットアップ、デバッグ実行 | getting-started | references/getting-started/README.md |
| playwright.config.ts、fixtures、annotations、parallelism (shuffle)、sharding、retries (retryStrategy)、timeouts、test locks | test-runner | references/test-runner/README.md |
| locators、assertions、actions、auto-waiting、emulation、frames、isolation | core-concepts | references/core-concepts/README.md |
| 認証、ネットワークモック、API テスト、ビジュアルテスト、POM、アクセシビリティ、ベストプラクティス、クロック制御、ナビゲーション、スクリーンショット、動画録画、API モック、WebView2 | guides | references/guides/README.md |
| CLI コマンド、codegen、trace viewer、UI mode、test agents、Playwright MCP、playwright-cli (エージェント向け CLI) | tooling | references/tooling/README.md |
| TypeScript、ブラウザ管理、Chrome 拡張、コンポーネントテスト、evaluate、service workers | advanced | references/advanced/README.md |
| Page、Locator、BrowserContext、APIRequestContext、Assertions クラス API、Credentials (passkeys)、WebStorage、WebMCP、Screencast、Tracing (HAR) | api | references/api/README.md |
| 典型的な使い方を知りたい、実装サンプルを参照したい | samples | samples/README.md |
| インストール・CLI コマンド・CI 実行・デバッグコマンド・MCP / playwright-cli コマンドを知りたい | scripts | scripts/README.md |
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/fandhe-ai/agent-reference-skills/playwright">View playwright on skillZs</a>