mitao-su/dsh-playwright-native ↗★ 1

dsh-playwright-native

DeepSeek Harness host plugin that registers the native Playwright CLI as a single passthrough `playwright` tool (args forwarded verbatim). 适合需让代理直接调用 Playwright 命令跑测试或截图的用户。

Package
dsh-playwright-native
Compatibility
Unverified
Harness peer range
^0.1.0-rc.6
Cordis peer range
^4.0.1
Version
0.1.0
License
MIT
Last updated
Aug 14, 2026

Install

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:mitao-su/dsh-playwright-native

10. Step 6 使用

注册后,Agent 的工具列表里多了一个 playwright,直接传原生命令参数:

Agent 想做的事调用 playwright 的 args
看版本["--version"]
装浏览器["install", "chromium"]
跑测试["test", "tests/login.spec.ts", "--reporter", "html"]
打开报告["show-report"]
录脚本["codegen", "https://example.com"]
截图["screenshot", "https://example.com", "shot.png"]

无 GUI 的一次真实任务验证:

dsh --profile headless "用 playwright 跑 tests/ 下的用例并打开报告"