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 命令跑测试或截图的用户。

パッケージ
dsh-playwright-native
互換性
未検証
Harness ピア範囲
^0.1.0-rc.6
Cordis ピア範囲
^4.0.1
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/08/14

インストール

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

ドキュメント

README 全文を読む ↗

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/ 下的用例并打开报告"