Releases: whklwhkl/dsh-playwright
Releases · whklwhkl/dsh-playwright
Release list
v0.3.0 — bundled site-map skill
First feature release after v0.2.0. 已在 dsh 0.1.2-alpha.5 实测通过 / tested against dsh 0.1.2-alpha.5.
New: bundled site-map skill / 新增内置站点地图 skill
playwright-browser-tipsships inside the bundle and registers on the profile's skill registry: per-site facts and tactics (search engines, anti-automation behavior) plus general recovery patterns, rendered from community-maintained data- The model loads it on demand when browser_* tools fail or when automating search/login flows; users can also invoke it with
/playwright-browser-tips - Bilingual body following
PW_LANG; requires adsh-base-backed profile (web, headless, acp, sdk-app)
Community contributions / 社区共建
- SITE-MAP-SPEC.md defines the entry schema and content rules — humans and agents submit entries by PR, touching only
assets/site-map.json node scripts/validate-site-map.jsvalidates the schema and proves both languages render; attach its output to the PR- Verification runbook included: real runs, diagnostics, control sites, boundary-compliant entries (CAPTCHAs stay with the user)
Install / 安装
dsh plugin --profile web add git+https://github.com/whklwhkl/dsh-playwright.gitRequirements: Node ≥ 18; a Chromium-family browser (auto-download or PW_CHROMIUM_PATH).
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).