ChenyuHeee/dsh-browser-playwright
ChenyuHeee★ 1TypeScript最后同步: 2026-08-14
Snapshot-first Playwright browser automation for DeepSeek Harness: accessibility-tree interaction with stable refs, per-session browser contexts, 17 browser_* tools.
README 摘要
dsh-browser-playwright Playwright-powered browser capability for DeepSeek Harness: the agent drives a real browser through accessibility snapshots with stable element refs — no CSS-selector guessing, no full-DOM dumps. One browser session per harness session, tabs, screenshots as durable image attachments, structured extraction, and gated JavaScript evaluation. Install The bundle mounts three rows: the ctx.browser seam ( service ), the Playwright provider ( playwright ), and the model-facing tool family ( tool ). Browser binary The provider probes chromium → chrome → msedge → edge channels automatically; any installed Chromium-family browser works with zero download . To use Playwright-managed Chromium instead: Or pin a binary: launch.executablePath / launch.channel in the plugin config. Tools The default toolPrefix is browser . Every action returns a fresh snapshot, so refs always come from the latest result. Tool Purpose browser navigate Open a URL (http/https only) and return the snapshot browser snapshot Snapshot the current page: URL, title, visible elements with ref= ids browser click Click the element with a ref from the latest snapshot browser fill Replace an input's value;…
在 GitHub 查看完整 README →