browser-testing

Shin0205go's avatarfrom Shin0205go

ブラウザ自動化とE2Eテストを行うスキル

⭐0stars🔀0forks📁View on GitHub🕐Updated Dec 31, 2025

When & Why to Use This Skill

This Claude skill provides advanced browser automation and end-to-end (E2E) testing capabilities powered by Playwright. It enables automated web navigation, element interaction, and form filling, while offering robust debugging tools like screenshot capture and network request monitoring to enhance web application quality and developer workflow.

Use Cases

  • End-to-End (E2E) Testing: Automate the verification of critical user paths in web applications to ensure consistent performance and reliability.
  • Automated Web Interaction: Streamline workflows by automating repetitive tasks like data entry, form submissions, and multi-step web navigation.
  • Visual Regression Testing: Capture and compare screenshots or accessibility snapshots to detect UI changes and maintain design integrity.
  • Frontend Debugging: Monitor console logs and network activity to identify and resolve client-side errors or API integration issues efficiently.
namebrowser-testing
displayNameBrowser Testing
descriptionブラウザ自動化とE2Eテストを行うスキル

Browser Testing Skill

このスキルはPlaywrightを使用したブラウザ自動化とE2Eテストを支援します。

機能

  • Webページのナビゲーション
  • 要素のクリック・入力
  • フォームの自動入力
  • スクリーンショット撮影
  • コンソールログ・ネットワークリクエストの監視
  • ダイアログ処理
  • ファイルアップロード

使用方法

基本的なナビゲーション

  1. browser_navigate でURLに移動
  2. browser_click で要素をクリック
  3. browser_type でテキスト入力

スクリーンショット

  • browser_take_screenshot でページ全体または要素のスクリーンショットを撮影
  • browser_snapshot でアクセシビリティスナップショットを取得

デバッグ

  • browser_console_messages でコンソールログを確認
  • browser_network_requests でネットワークリクエストを監視

注意事項

  • ブラウザは自動的にインストールされます(初回実行時)
  • ヘッドレスモードで実行されます
  • セッションは明示的に閉じるまで維持されます