0C

0xnyn/canary

浏览器自动化

本页由 AI 翻译,技术细节请以原文为准。 查看原文

500 stars 质量 61 趋势 9NOASSERTION

0xnyn/canary 是从 https://github.com/0xnyn/canary. 导入的特工技能候选人

概览

0xnyn/canary 是从 https://github.com/0xnyn/canary. 导入的特工技能候选人

概述(AI 翻译)

金丝雀 为Claude Code打造的质量保证线束。

https://github.com/user-attachments/assets/53d10b52-35cf-496a-a342-e8719574a000

Canary 是一个专为编码代理(如 Claude Code)设计的质量保证工具。它读取你的代码差异,识别受影响的界面流程,并在真实浏览器实例中用 Claude Code 进行测试。

在底层,它自带一个QuickJS WASM沙盒,展示了完整的Playwright API,让Claude能够自动化任何长期运行的UI任务——从登录处理到复杂界面的导航。

Canary不再手动点击流程来重现和验证问题,而是提供完整的会话录制。你可以获得屏幕录制,包括控制台日志、网络请求、HAR和Playwright追踪,这样你可以检查代理到底做了什么。

每次Canary运行都会捕获一个可重复使用的Playwright脚本。允许你在CI中以零推理成本重演。

大多数测试工具都迫使你在两个极端之间做出选择:

  • 一个你无法复制的不透明特工检测。
  • 原始剧作家剧本,你必须手工撰写和维护。

Canary不会让你做选择:经纪人负责QA,并给你一份可重复的剧本。

特色

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Canary is a QA harness purpose built for coding agents like Claude Code. It reads your code diffs, identifies the affected UI flows, and tests them in real browser instances using Claude Code.

Under the hood, it ships with a QuickJS WASM sandbox exposing the full Playwright API, letting Claude automate any long-running UI task — from handling logins to navigating complicated UIs.

Instead of clicking through flows by hand to reproduce and verify issues, Canary provides full session recordings. You get screen recordings with console logs, network requests, HARs, and Playwright traces so you can inspect exactly what the agent did.

Every Canary run captures a reusable Playwright script. Letting you re-run it in CI with zero inference cost on replay.

Most testing tools force you to choose between two extremes:

  • An opaque agent run you can’t reproduce.
  • Raw Playwright scripts you have to write and maintain by hand.

Canary doesn’t make you choose: the agent does the QA and hands you a reproducible script.

Features

  • See exactly what happened. Trace, video, network, console, and a screenshot of every step — captured automatically.
  • Reproducible by default. Canary turns each run into a real Playwright script. Let your agent discover a flow once; re-run it forever.
  • One file, zero setup. Every session is a self-contained report.html — open it, commit it, send it. No server, no build.
  • Built for agents. Drop-in plugins for Claude Code, Cursor, and Codex.
  • Sandboxed. Scripts run in a QuickJS WASM sandbox with the full Playwright Page API — no Node, no host access.

Who it’s for

https://github.com/user-attachments/assets/8459994a-b43c-4483-bb4a-00522d1d03fe

You describe the flow in plain language; your agent drives a real browser and hands back both a report you can just read and the exact Playwright script — plus the full trace — behind it. Most tools make you pick one: an opaque agent run you can’t reproduce, or raw Playwright you write and maintain by hand. Canary gives you both.

You are a… Instead of… Canary gives you…
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add 0xnyn/canary
新手?先看 mcpskill.org 教程 →