ChenyuHeee/dsh-browser-playwright ↗★ 2
dsh-browser-playwright
Playwright-powered browser capability for DeepSeek Harness: accessibility-snapshot interaction with stable element refs, session-scoped browser sessions, screenshots as attachments.
AI Analysis
核心用途是赋予智能体真实的网页浏览与交互能力。适合需要 AI 执行网页自动化测试、抓取动态内容或进行视觉确认的任务。需要系统内装有 Chromium 系浏览器。
Install
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:ChenyuHeee/dsh-browser-playwrightREADME
Read the full README ↗Configuration
All tunables are patchable through the profile's cordis.patch.yml (later layers win per row).
- id: browser
config:
provider: playwright # explicit provider selection
- id: browser-playwright
config:
launch:
channel: chrome # or chromium / msedge / edge
headless: true
viewport: { width: 1280, height: 800 }
navigationTimeoutMs: 30000
ignoreHTTPSErrors: false
allowedDomains: [] # e.g. ['github.com'] restricts navigation
idleTimeoutMs: 600000 # close idle contexts after 10 min; 0 = never
maxSessions: 8 # LRU eviction beyond this
snapshot:
maxNodes: 500 # token budget per snapshot tree
maxNameLength: 120
maxTextLength: 300
- id: browser-tool
config:
toolPrefix: browser_ # model-facing tool name prefix
allowEvaluate: false # browser_evaluate gate
maxWaitMs: 60000 # browser_wait bound
extract:
provider: deepseek-official # optional: enables browser_extract
model: deepseek-v4-flash
maxInputChars: 20000
maxOutputTokens: 2000
browser_extract needs an auxiliary LLM route (extract.provider + extract.model); without one it fails with an actionable error. browser_evaluate stays off until allowEvaluate: true because it executes arbitrary page JavaScript.