
idavidov13/agentic-playwright
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
idavidov13/agentic-playwrightは[https://github.com/idavidov13/agentic-playwright.から輸入されるエージェントスキルの候補者です
概要
idavidov13/agentic-playwrightは[https://github.com/idavidov13/agentic-playwright.から輸入されるエージェントスキルの候補者です
概要(AI 翻訳)
エージェント プレイライト
テストを書く方法をAIに教えるのを止めてください。 ルールブックを渡します。
= 20">
生産等級のPlaywright +タイプスクリプトは、エージェントのテストのために足場を足場します。 完全な実行テストフレームワーク — ページオブジェクト、API コントラクト、データファクトリ、CI — さらに、AI は、アシスタントが自動的にピックアップします。
参照
プロジェクトのディレクトリ(空)から、“.” は “scaffold right
ここでは、このフォルダーの後にプロジェクト名を”(空のリポジトリの新鮮git clone)
作品紹介 新しいサブフォルダを優先しますか? [[T2]の代わりに名前を渡します。
ゼロ質問。 フレームワークを足場し、依存関係とブラウザをインストールし、終了 ライブデモアプリケーションに対する煙テストを実行することにより、前に緑色が表示されます 行を書く。 通常のブロードバンドで5分以内。
完全なシステムは生きている説明しました
Debbie O’BrienとIvan Davidovは、C3のアーキテクチャ「Playwrightによる最新のエージェントテストオートメーション」を歩いていきます。 10月21日, オンライン, によって構成さ Packt
詳細はこちら
ルールブックなしで、それと対
同じプロンプト — “製品検索のテストを書きます” — 同じAIアシスタントへ:
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
README
以下は原文 README の抜粋です。原文を見る。
Agentic Playwright
Stop teaching your AI how to write tests. Hand it the rulebook.
= 22">
Production-grade Playwright + TypeScript Scaffold for Agentic Testing. A complete, running test framework — page objects, API contracts, data factories, CI — plus the AI rules your assistant picks up automatically, from the very first prompt.
See it
From the (empty) directory your project should live in — the . means “scaffold right
here, and name the project after this folder” (a fresh git clone of an empty repo
works too). Prefer a new subfolder? Pass a name instead of .:
npm create agentic-playwright@latest . -- --demo
Zero questions. Scaffolds the framework, installs dependencies and a browser, and ends by running the smoke test against a live demo application — you see green before writing a line. Under 5 minutes on normal broadband.
Without the rulebook vs with it
The same prompt — “write a test for the product search” — to the same AI assistant:
// ❌ Unsupervised: XPath, hard waits, `any`, magic timeouts, no structure
test('search', async ({ page }) => {
await page.goto('https://practicesoftwaretesting.com');
await page.locator('//input[@id="search-query"]').fill('pliers');
await page.locator('//button[@type="submit"]').click();
await page.waitForTimeout(5000);
const cards: any = await page.$$('.card');
expect(cards.length > 0).toBe(true);
});
// ✅ With Agentic Playwright: fixtures, steps, web-first assertions
import { expect, test } from '../../../fixtures/pom/test-options';
test(
推奨ツール
別のキーワードを試すか、フィルタを外してください。
インストール
npx skillfish add idavidov13/agentic-playwright