← 返回
未分类

desktop-operator

Operate Electron desktop applications on macOS via Puppeteer CDP. Open an app, find a UI element by text, click it, and take a screenshot.
通过Puppeteer CDP在macOS上操作Electron桌面应用。打开应用,通过文本查找UI元素,点击并截图。
bondli bondli 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 476
下载
💾 0
安装
1
版本
#latest

概述

desktop-operator

通过 Puppeteer CDP 连接 Electron 桌面应用,自动完成打开应用、点击指定文本元素、截图的操作。

适用场景

用于自动化本地 Electron 应用(如各类管理后台、工具软件)。

示例触发语:

  • 打开 DaveBella 应用,点击订单中心,然后截图
  • 打开 xx 应用,点击顶部的订单中心
  • 打开 xx 应用,进入数据分析页面截图

Parameters

参数说明
------------
--app应用名称,即 /Applications/.app 文件名(不含 .app)
--target要点击的元素文本内容

Execution

node dist/index.js --app "{appName}" --target "{targetText}"

示例:

node dist/index.js --app "DaveBella" --target "订单中心"

Output

成功后输出 JSON:

{ "screenshot": "/tmp/desktop_operator_skill_xxxxxxxxx.png" }

截图路径即为操作完成后的页面截图,可直接展示给用户。


注意事项

  • 仅适用于 Electron 应用
  • 应用需安装在 /Applications/ 目录下
  • 首次使用需在「系统设置 → 隐私与安全性 → 辅助功能」中授权 Terminal

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-05-03 05:48 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

dev-programming

Github

steipete
使用 `gh` CLI 与 GitHub 交互,通过 `gh issue`、`gh pr`、`gh run` 和 `gh api` 管理议题、PR、CI 运行及高级查询。
★ 679 📥 327,936
dev-programming

Mcporter

steipete
使用 mcporter CLI 直接列出、配置、认证及调用 MCP 服务器/工具(支持 HTTP 或 stdio),涵盖临时服务器、配置编辑及 CLI/类型生成功能。
★ 195 📥 67,724
business-ops

store-order-query

bondli
从数据库查询店铺订单信息
★ 0 📥 900