dsh-cdp-browser

通过 CDP 连接已运行的 Chrome/Edge:为 DSH 提供截图、像素断言、DOM/CSS 检查与页面 JS 执行,全程 HTTP + WebSocket、零子进程、零 npm 依赖、无需逐次授权。

插件介绍

通过 CDP 连接已运行的 Chrome/Edge:为 DSH 提供截图、像素断言、DOM/CSS 检查与页面 JS 执行,全程 HTTP + WebSocket、零子进程、零 npm 依赖、无需逐次授权。

安装方式

从 GitHub 安装

dsh plugin --profile web add github:zaiwenJ/dsh-cdp-browser

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

版本兼容情况

第三方安装实测

安装测试结果
安装与注册通过
测试日期

安装提示

  • 可能调用终端命令