v0.2.0
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.gitPin this release / 钉住本版本:
dsh plugin --profile web add git+https://github.com/whklwhkl/dsh-playwright.git#v0.2.0Highlights / 亮点
- 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, defaultzh)
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_PATHto reuse a system Chrome instead
Requirements: Node ≥ 18; a Chromium-family browser (auto-download or PW_CHROMIUM_PATH).