跳到正文
Skillpedia
测试40k · #7328

playwright-explore-website

它能做什么

这个工具可以帮你探索一个网站,找出它的主要功能以及这些功能的运作方式。它会模拟用户浏览网站的过程,并记录下发现的内容。

适用场景

  • ✓想了解网站怎么运作,又不想自己一个个点开看时。
  • ✓想找出使用某个网站功能的关键步骤时。
  • ✓想快速了解一个网站的用途以及该如何操作时。

技能链接

https://github.com/github/awesome-copilot/blob/main/skills/playwright-explore-website/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/github/awesome-copilot/blob/main/skills/playwright-explore-website/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“帮我探索一下这个网站 [网站地址],告诉我用户在上面可以做的前 3 件事。”

每周 5 个新技能,1 分钟读完。

工作原理

工具使用一个叫 Playwright 的程序,在虚拟浏览器中打开网站。它会浏览页面、与按钮和输入框交互,并记录每一步的结果,最后告诉你。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

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.
常见问题

什么是 Playwright?

Playwright 是一款让电脑控制网页浏览器的工具,原理类似于人用鼠标和键盘操作浏览器。

什么是“定位器”(locators)?

定位器就像是网页上每个按钮、输入框或其他元素的唯一地址,让工具能准确找到要操作的那一个。

什么是“测试用例”(test cases)?

测试用例就像是检查网站是否正常运行的脚本。它描述了需要执行的步骤,以及预期会发生什么。

详情

作者的原始描述

Website exploration for testing using Playwright MCP

repo: github/awesome-copilot

热度

GitHub 星标
40k
排名
#7328
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能