playwright-explore-website
作者: github
使用 Playwright 自動探索網站並生成測試案例。導航至提供的 URL,系統性地識別 3-5 項核心功能與用戶流程。記錄每個互動的 UI 元素、定位器及預期結果。根據探索結果生成測試案例,可直接用於測試工作流程。自動管理瀏覽器上下文生命週期,完成後關閉會話。
npx skills add https://github.com/github/awesome-copilot --skill playwright-explore-websiteWebsite Exploration for Testing
Your goal is to explore the website and identify key functionalities.
Specific Instructions
- Navigate to the provided URL using the Playwright MCP Server. If no URL is provided, ask the user to provide one.
- Identify and interact with 3-5 core features or user flows.
- Document the user interactions, relevant UI elements (and their locators), and the expected outcomes.
- Close the browser context upon completion.
- Provide a concise summary of your findings.
- Propose and generate test cases based on the exploration.