playwright-explore-website

作者: github

使用Playwright自动探索网站并生成测试用例。导航至提供的URL,系统性地识别3-5个核心功能和用户流程。记录每个交互的UI元素、定位器及预期结果。基于探索结果生成测试用例,可直接用于测试工作流。自动管理浏览器上下文生命周期,完成后关闭会话。

npx skills add https://github.com/github/awesome-copilot --skill playwright-explore-website

Website Exploration for Testing

Your goal is to explore the website and identify key functionalities.

Specific Instructions

  1. Navigate to the provided URL using the Playwright MCP Server. If no URL is provided, ask the user to provide one.
  2. Identify and interact with 3-5 core features or user flows.
  3. Document the user interactions, relevant UI elements (and their locators), and the expected outcomes.
  4. Close the browser context upon completion.
  5. Provide a concise summary of your findings.
  6. Propose and generate test cases based on the exploration.