According to AlphaMoat, as of 2026-10, 微信小程序自动化测试 has 10,512 downloads and 10 stars — ranked by downloads #2,592 among 10,914 AI skills in this ranking, and #194 of 1,069 in Development.
The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.
| Platform | Downloads | Stars | Comments |
|---|---|---|---|
| ClawHub ↗ | 986 | 1 | - |
| SkillHub ↗ | 10.5K | 10 | — |
Platforms count differently and update at different times.
It launches DevTools, navigates pages, interacts with elements, takes screenshots, and reads console logs. Usage requires writing all operations into a single Python script built on WeappTestRunner and executing it with one python call rather than issuing commands step by step.
Profile published 2026-10-27
Generated from the skill’s documentation as examples; not results of actual runs.
The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.
| Month | Downloads | MoM | Stars |
|---|---|---|---|
| 2026-10 | 10.5K | — | 10 |
| 2026-09 | 5.7K | — | 10 |
| 2026-08 | 4.6K | +17.1% | 10 |
| 2026-07 | 3.9K | — | 10 |
| 2026-05 | 2.9K | — | 9 |
| 2026-03 | 1.3K | — | 1 |
The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.
--- name: weapp-automatd-testing description: WeChat Mini Program automation testing toolkit. Supports launching DevTools, page navigation, element interaction, screenshots, console log reading, and more. Use when the user needs to automate mini program testing, control WeChat DevTools, read console logs, or perform UI screenshot comparison. --- # WeChat Mini Program Automation Testing ## CRITICAL: Batch Execution Rule **ALWAYS write a single Python script that uses `WeappTestRunner` to batch ALL operations, then execute it with ONE `python` call.**
Each tool call costs ~30-60s overhead. A test with 10 individual CLI calls takes 5-15 minutes; the same 10 operations batched into one script take ~5 seconds.
### Execution pattern
1. **Plan** all operations the user needs
2. **Write** a single Python script using `WeappTestRunner`
3. **Run** with one `python` command
4. **Read** output and report results
### Example
```python
import sys
sys.path.insert(0, r"path_to_weapp-automation_skill\scripts")
from weapp_automation import AutomationConfig, WeappTestRunner
config = AutomationConfig(
project_path=r"path_to_your_miniapp\my_mini_app",
ws_endpoint="ws://localhost:9420"
)
runner = WeappTestRunner(config)
results = (runner
.navigate("pages/index/index")
.wait(2)
.screenshot("home.png")
.click(".category-item")
.wait(1)
.screenshot("after_click.png")
.get_results())
print(runner.get_summary())
for r in results:
print(r)
```
Save as a `.py` file and run with `python script.py`.
---
## Prerequisites
1. Install: `npm install -g miniprogram-automator`
2. Open WeChat DevTools -> Settings -> Security Settings -> Enable "Service Port"
3. Ensure the project is imported into DevTools
CLI paths:
- **macOS**: `/Applications/wechatwebdevtools.app/Contents/MacOS/cli`
- **Windows**: `C:\Program Files (x86)\Tencent\微信web开发者工具\cli.bat`
---
## WeappTestRunner Chainable Methods
| Method | Description |
|--------|-------------|
| `.navigate(page_path)` | Navigate to a page |
| `.click(selector)` | Tap an element |
| `.input(selector, text)` | Type text into an input field |
| `.screenshot(filename)` | Take a screenshot |
| `.scroll(selector, direction, distance)` | Scroll an element |
| `.get_wxml(selector)` | Extract WXML DOM structure |
| `.get_data(path)` | Read page data |
| `.wait(seconds)` | Wait for a duration |
| `.run()` | Execute all queued steps |
| `.get_results()` | Execute and return results list |
| `.get_summary()` | Return pass/fail summary dict |
---
## Other APIs
- **WeappAutomation** - Single-step API for one-off operations
- **WeappLauncher** - Launch/close WeChat DevTools
- **ConsoleReader** - Read and analyze console logs
- **PerformanceMonitor** - Collect performance metrics
- **TestScenarios** - Pre-built test scenario templates (smoke, navigation, form, UI regression, user journey)
For detailed usage, parameters, and examples of all APIs, see [references/api_reference.md](references/api_reference.md).
---
## Script Inventory
| Script | Purpose |
|--------|---------|
| `scripts/weapp_launcher.py` | Launch/close WeChat DevTools |
| `scripts/weapp_automation.py` | Core automation engine (batch + single-step) |
| `scripts/console_reader.py` | Console log reading and analysis |
| `scripts/test_scenarios.py` | Pre-defined test scenario templates |
【全栈能力】编程大神.Skill:面向复杂真实项目的高阶全栈编程助手。不止生成代码,而是从一句目标接手陌生代码库,拆解需求、补齐实现、追到根因、完成重构、联调前后端,并把结果推进到能运行、能验证、能交付。覆盖 Web、后端、脚本、iOS、安卓、鸿蒙 ArkUI、微信小程序及其他技术栈,支持中英文工程、疑难 Bug、跨模块任务和长任务续做;用构建、日志、真实入口、设备或接口证据说明结果。仅问概念时直接回答,要求落地时持续推进到验收或明确阻塞。
编程专家 Pro:融合编程专家 2.0.3 工程专题与编程大神的鸿蒙 ArkTS/ArkUI、微信小程序和小游戏开发资料。用于项目实现、根因调试、审查、重构、测试、架构性能分析及多端开发验证。支持自然语言和 @专题标识,按任务读取包内知识;只问概念时直接回答。
编程专家.Skill P8级编程助手,25年实战经验技能Skill,全栈:Java/Php网站/软件项目、API设计、Bug诊断、代码生成、代码审查、重构、测试用例、性能基准、技术选型、文档生成、任务拆解、Spec驱动、Karpathy规范、CMS二次开发、前端设计、MySQL/Mariadb、项目知识图谱,以及工程纪律层(根因调试硬闭环、阶段导航、事故复盘/SLO、威胁建模/供应链安全、生产就绪/渐进式发布、AI编码治理、面向Agent代码可读性、LLM应用安全)。支持 @标识 显式调用跳过路由。
编程专家.Skill P8级编程助手,25年实战经验技能Skill,全栈:Java/Php网站/软件项目、API设计、Bug诊断、代码生成、代码审查、重构、测试用例、性能基准、技术选型、文档生成、任务拆解、Spec驱动、Karpathy规范、CMS二次开发、前端设计、MySQL/Mariadb、项目知识图谱,以及工程纪律层(根因调试硬闭环、阶段导航、事故复盘/SLO、威胁建模/供应链安全、生产就绪/渐进式发布、AI编码治理、面向Agent代码可读性、LLM应用安全)。支持 @标识 显式调用跳过路由。
工程专题、鸿蒙与微信小程序开发的集成派生版
编程专家 Pro:融合编程专家 2.0.3 工程专题与编程大神的鸿蒙 ArkTS/ArkUI、微信小程序和小游戏开发资料。用于项目实现、根因调试、审查、重构、测试、架构性能分析及多端开发验证。支持自然语言和 @专题标识,按任务读取包内知识;只问概念时直接回答。
适用场景:全栈编程助手。接到需求先读现有代码和约束,再动手:Java/PHP 开发、接口设计、缺陷定位、代码评审、重构、测试用例、性能排查、技术选型与文档产出,也做 CMS 二次开发、前端页面和 MySQL 调优。每次改动先给方案和影响范围,改完必须跑验证,交付附交接说明。适合要把代码真正跑通、而不是只要片段的场景。写完代码常要配套的造价、法律、工程文档,站内已有现成技能,用「查找技能」按需求找即可。
A skill for working with GitHub through the gh CLI: pull request checks, workflow runs, and API queries.
Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.