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.