yzd6552-commits/dsh-browseruse ↗★ 1
dsh-browseruse
browser-use style browser automation for DeepSeek Harness: drives a dedicated Google Chrome instance (independent profile, cookie persistence) via playwright-core — fine-grained browser tools, autonomous tasks with an internal model loop, scheduled runs, dangerous-action confirmation, captcha hand-off, and per-step screenshots.
安装
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:yzd6552-commits/dsh-browseruse说明文档
阅读完整 README ↗dsh-browseruse
browser-use 风格的浏览器自动化插件,专为 DeepSeek Harness (DSH) 打造。
通过 playwright-core 驱动一个专用 Google Chrome 实例(独立资料目录、cookie 持久),像真人一样"看页面 → 决策 → 操作",不影响你日常使用的 Chrome。
A browser-use style automation plugin for DeepSeek Harness. It drives a dedicated Google Chrome instance (independent profile, persistent cookies) through playwright-core, so an agent can browse the web like a human — without touching your everyday Chrome.
✨ 功能 / Features
| 能力 | 说明 |
|---|---|
| 👀 细粒度工具 | browser_open / browser_snapshot(文本+元素序号+截图)/ browser_click / browser_type / browser_scroll / browser_navigate / browser_tabs / browser_fill_form / browser_download |
| 🧠 自主任务 | browser_task("自然语言目标") —— 插件内部循环"看页面 → 调用当前模型决策 → 操作",默认上限 30 步,后台运行可用 job_output 跟踪 |
| ⏰ 定时任务 | browser_schedule("目标", "HH:MM" / ISO 时间 / 秒数) —— 到点自动开跑(抢购/抢票场景),本会话内有效 |
| 🛡️ 危险操作确认 | 支付/下单/删除/注销等敏感动作自动识别,动手前弹窗征求用户同意 |
| 🧩 验证码人工接管 | 检测到验证码时暂停并截图询问,用户可在专用 Chrome 窗口亲自处理后继续 |
| 🖼️ 截图回传 | 每步操作截图进入对话(模型支持图片输入时) |
| 🍪 登录态持久 | 独立 profile(默认 $DSH_HOME/.browseruse/chrome-profile),登录一次长期记住,密码不落盘 |
📦 安装 / Install
需要本机装有 Google Chrome(插件通过 CDP 连接已安装的 Chrome,无需下载浏览器二进制)。
方式一:作为 profile bundle(推荐)
# 从 GitHub 安装
dsh plugin --profile web add github:yzd6552/dsh-browseruse
# 或从 npm 安装
dsh plugin --profile web add dsh-browseruse
安装后 browser_* 工具对该 profile 的所有会话可见。重启 dsh web 后生效。
方式二:作为 agent 预设插件行
mkdir -p ~/.dsh/.agent-presets//plugins/browseruse
cd ~/.dsh/.agent-presets//plugins/browseruse
npm init -y && npm install dsh-browseruse