Skip to main content

How to use dsh-playwright-browser

Playwright browser automation for DeepSeek Harness|面向 DeepSeek Harness 的 Playwright 浏览器自动化插件

This article is auto-derived from indexed fields (wiki / faq / compatibility_json), not freshly AI-generated.

This article is derived from the plugin's already-indexed fields (wiki / faq / compatibility_json / readme), not freshly generated by AI. Source field is noted at the end of each section.

Quick start

Playwright browser automation for DeepSeek Harness|面向 DeepSeek Harness 的 Playwright 浏览器自动化插件

— source: plugins.ai_summary

Install & verify

dsh plugin --profile web add dsh-playwright-browser

Run the command above in your DSH Web Profile. Then enable the plugin in the plugin list.

— source: plugins.install

Key points

  • Ten native browser_* tools registered in the DSH tool registry.
  • Reusable browser context with stable tab identifiers.
  • Fresh bounded accessibility or visible-text snapshots after interactions.
  • Semantic locators such as role=button|Save, label=Email, and text=Settings.
  • Snapshot-friendly role shorthand such as button|Save and textbox|Email.

— source: plugin_wiki.readme_en (fallback readme_raw)

Pitfalls

Review the upstream repo before installing. This guide is auto-derived from indexed fields and may lag the latest release. If anything contradicts the official docs, treat the upstream source as authoritative.

— source: general rule