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 peer 범위
^0.1.0-rc.6
Cordis peer 범위
^4.0.1
버전
0.1.0
라이선스
MIT
최근 업데이트
2026. 8. 14.

설치

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