awt-e2e-testing
它能做什么
这个工具可以让 AI 像真人一样测试网站。它使用一种特殊格式(YAML)编写的指令,在真实的浏览器中进行操作,检查一切是否正常运行。
适用场景
- ✓当你想让 AI 自动测试一个网站时。
- ✓当测试需要依赖屏幕上看到的视觉元素,而不是代码时。
- ✓当你想检查网站在不同技术(如 React、Vue 等)下是否运行良好时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/awt-e2e-testing/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“帮我创建一个自动化测试,检查我能否把商品加入购物车并进入结账页面。”
每周 5 个新技能,1 分钟读完。
工作原理
你用一个特殊的文件(YAML)写下要做的步骤,工具会在浏览器中执行这些指令。它会观察屏幕,并像普通用户一样与页面元素进行交互。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
AWT — AI-Powered E2E Testing (Beta)
npx skills add ksgisang/awt-skill --skill awt -g
AWT gives AI coding tools the ability to see and interact with web applications through a real browser. Your AI designs YAML test scenarios; AWT executes them with Playwright.
When to Use
- You need AI-assisted end-to-end testing through a real browser with declarative YAML scenarios.
- The test flow depends on visual matching, OCR, or platform auto-detection instead of stable DOM selectors.
- You want an E2E toolchain that can both execute tests and explain failures for AI coding workflows.
Upstream Advertised Capabilities
- YAML scenarios → Playwright with human-like interaction
- Visual matching: OpenCV template + OCR (no CSS selectors needed)
- Platform auto-detection: Flutter, React, Next.js, Vue, Angular, Svelte
- Structured failure diagnosis with investigation checklists
- Learning DB: failure→fix patterns in SQLite
- 5 AI providers: Claude, OpenAI, Gemini, DeepSeek, Ollama
- Skill Mode: no extra AI API key needed
Execution Boundary
This entrypoint does not bundle the AWT runtime or its YAML schema. Inspect the selected upstream revision and actual installed commands before authoring a scenario. The installation command above is an upstream option, not permission to change global skills. Prefer an explicitly authorized project-scoped installation.
Confirm the target environment, test accounts, permitted browser actions and data retention. A checkout test can place orders or send notifications; use an isolated fixture environment and inspect effects before execution. Do not send screenshots, credentials or application data to a cloud provider without authorization. Record the actual scenario, runtime/version, observed result and artifact paths. If runtime is absent, return a draft and mark execution pending rather than inventing a pass.
Links
- Main repo: https://github.com/ksgisang/AI-Watch-Tester
- Skill repo: https://github.com/ksgisang/awt-skill
- Cloud demo: https://ai-watch-tester.vercel.app
Built with the help of AI coding tools — and designed to help AI coding tools test better.
Actively developed by a solo developer at AILoopLab. Feedback welcome!
Example
User request:
Create and run a declarative browser test for the checkout flow, including visual assertions and a clear failure report.
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
常见问题
什么是“端到端”(E2E)测试?
这是一种模拟用户在网站上完整体验的测试,从任务开始一直到结束。
什么是 YAML?
它是一种简单的文本格式,用来编写计算机能够理解的指令,比如 AI 用来测试网站的那些指令。
为什么要用视觉识别,而不是代码选择器?
有时网站中用来定位元素的代码选择器会发生变化。使用屏幕上显示的内容(视觉)来定位元素,可以让测试更能应对这些变化。
详情
作者的原始描述
AI-powered E2E web testing — eyes and hands for AI coding tools. Declarative YAML scenarios, Playwright execution, visual matching (OpenCV + OCR), platform auto-detection (Flutter/React/Vue), learning DB. Install: npx skills add ksgisang/awt-skill --skill awt -g
热度
- GitHub 星标
- 48k
- 排名
- #3872
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。