Skip to content

v0.2.0

Choose a tag to compare

@whklwhkl whklwhkl released this 02 Sep 17:46
· 5 commits to main since this release

First tagged release, tested end to end against dsh 0.1.2-alpha.5.
首个打 tag 的版本,已在 dsh 0.1.2-alpha.5 上实测通过。

Install / 安装

dsh plugin --profile web add git+https://github.com/whklwhkl/dsh-playwright.git

Pin this release / 钉住本版本:

dsh plugin --profile web add git+https://github.com/whklwhkl/dsh-playwright.git#v0.2.0

Highlights / 亮点

  • 12 browser_* model tools: open / status / click / type / fill / press / wait / extract / html / eval / screenshot / close
  • Runs playwright-core inside the DSH host process — no bridge service or ports; browser launches lazily and closes on unload
  • Bilingual tool descriptions and output (PW_LANG=en, default zh)

Verified / 已验证

  • Bing search end to end (fill → enter → extract results)
  • Page open, DOM extraction, screenshots on ordinary sites

Known limitations / 已知限制

  • Anti-automation sites: Baidu hides its home input under headless, Google search triggers CAPTCHA — prefer Bing, or set PW_HEADLESS=false (see README troubleshooting)
  • Behind a proxy the Chromium CDN download often drops large files; set PW_CHROMIUM_PATH to reuse a system Chrome instead

Requirements: Node ≥ 18; a Chromium-family browser (auto-download or PW_CHROMIUM_PATH).