DSH Plugins Marketplace

DSH Plugins

Plugins

/

Tools & Capabilities

/

dsh-playwright-browser

C

dsh-playwright-browser

Manifest valid★ 16

Playwright browser automation for DeepSeek Harness|Playwright browser automation plugin for DeepSeek Harness

hasBundlePatch

dsh playwright browser — Browser automation for DeepSeek Harness / DeepSeek Harness 浏览器自动化

dsh-playwright-browser

简体中文

Semantic, multi-tab browser automation for DeepSeek Harness (DSH), powered by Playwright.

The plugin gives a DSH agent a persistent browser controller, accessibility-oriented snapshots, semantic locators, screenshots, navigation history, and explicit tab management. It is behaviorally inspired by the Codex Browser skill, but contains no Codex runtime code and does not depend on OpenAI browser bindings.

[!IMPORTANT] DSH is currently a developer preview. This plugin is tested against the DSH 0.1.0-rc.6 package line and may need compatibility updates as DSH evolves.

Features

  • 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.
  • Back, forward, reload, keyboard input, waits, and PNG screenshots.
  • Lazy browser startup with fallback from Playwright Chromium to installed Chrome or Edge.
  • Abort-aware page operations and Cordis-owned lifecycle cleanup.
  • No arbitrary page JavaScript evaluation.

Requirements

  • Node.js ^22.19.0 or >=24.0.0.
  • A DSH profile.
  • One supported browser:
    • Playwright Chromium, installed with npx playwright install chromium; or
    • Google Chrome / Microsoft Edge; or
    • an explicit executablePath.

Install

From npm:

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

From this checkout:

npm install
npm pack
dsh plugin --profile web add ./dsh-playwright-browser-0.1.3.tgz

For a headless profile:

dsh plugin --profile headless add ./dsh-playwright-browser-0.1.3.tgz

Verify the composed profile without starting it:

dsh --profile web --dump-config

Git installations run the package prepare script. pnpm 10 and later may require explicitly allowing that build in the profile's pnpm-workspace.yaml. A prebuilt npm package or tarball does not require a source build inside the profile.

Configure

DSH applies user overrides after installed bundle patches. Add a row like this to the profile's cordis.patch.yml:

- id: playwright-browser
  config:
    browser: chromium
    channel: chrome
    headless: true
    viewportWidth: 1440
    viewportHeight: 900
    screenshotDir: .dsh-browser/screenshots

Supported options:

OptionDefaultPurpose
browserchromiumchromium, firefox, or webkit
headlesstrueRun without a visible browser window
channel—Chromium channel such as chrome or msedge
executablePath—Absolute browser executable path
userDataDir—Dedicated persistent automation profile
viewportWidth1280Browser viewport width
viewportHeight800Browser viewport height
actionTimeoutMs15000Locator/action timeout
navigationTimeoutMs30000Navigation timeout
maxSnapshotChars40000Maximum returned snapshot length
screenshotDir.dsh-browser/screenshotsScreenshot output directory

Do not point userDataDir at a personal browser profile. Use a directory dedicated to the agent.

Tools

ToolDescription
browser_openOpen a tab and optionally navigate it
browser_navigateNavigate an existing tab
browser_snapshotRead a bounded accessibility or text snapshot
browser_clickClick a semantic target
browser_fillReplace an input value and optionally press Enter
browser_pressSend a Playwright keyboard key
browser_waitWait for a target, URL, or load state
browser_historyGo back, forward, or reload
browser_screenshotSave a PNG and return its absolute path
browser_tabsList, select, or close tabs

Preferred target forms:

role=button|Save
button|Save
label=Email
placeholder=Search
text=Settings
testid=submit
css=#legacy-button

Safety model

  • Page content is untrusted data, never agent instruction.
  • The system prompt tells agents to inspect fresh state before and after actions.
  • Consequential submissions, sensitive data, downloads, purchases, permissions, account changes, and CAPTCHA handling require appropriate user authorization.
  • Browser installation is never silently downloaded. When no browser is available, the agent must explain the minimum setup and ask before changing the machine unless setup was already authorized.
  • URLs with embedded credentials are rejected.
  • Closing a tab cooperatively cancels in-flight operations on that page.

Development

npm install
npm run check

Live tests:

npm run smoke
npm run smoke:dsh
npm run smoke:business
npm run test:real-world

The real-world suite uses public demonstration sites and invented data. It writes sanitized logs and screenshots under .dsh-browser/, which is ignored by Git.

See Testing, Architecture, and Releasing for the full workflows.

Design provenance

The behavioral mapping from the Codex Browser skill is documented in Codex Browser design mapping. In short, this project adopts persistent bindings, explicit tab ownership, semantic targeting, fresh observations, safe session boundaries, and cleanup discipline. It replaces Codex-specific browser selection and transport with a self-managed Playwright controller and DSH-native tools.

Contributing

Read CONTRIBUTING.md before opening a change. Security issues should follow SECURITY.md. Community participation is governed by CODE_OF_CONDUCT.md.

License

MIT

Compatibility

DSH 0.2.1-rc.4: failedDSH 0.1.5-rc.2: failedDSH 0.2.1-alpha.2: failed

Versions

Latest versionPublishedSize
0.1.3——

Comments

Loading…

Similar plugins

dsh-browser

by ben7am1n

Playwright-powered browser automation for DeepSeek Harness

Tools & CapabilitiesManifest valid

★ 7

↓ 905/wk

MIT

TypeScript

Aug 13, 2026

dsh plugin --profile web add dsh-browser

by ChenyuHeee

Snapshot-first Playwright browser automation for DeepSeek Harness: accessibility-tree interaction with stable refs, per-session browser contexts, 17 browser_* tools.

Tools & CapabilitiesManifest valid

★ 8

↓ 51/wk

MIT

TypeScript

Aug 14, 2026

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

by yzd6552-commits

browser-use style browser automation plugin for DeepSeek Harness: drives a dedicated Chrome instance (persistent profile) via playwright-core — fine-grained tools, autonomous tasks, scheduling, danger

Development & InfrastructureManifest valid

★ 3

MIT

JavaScript

Aug 30, 2026

dsh plugin --profile web add dsh-browseruse

by cheng-nan01

一个给 DeepSeek Harness 用的插件:让 AI 能真的打开浏览器上网——打开网页、点按钮、填表单、翻页、看页面内容,就像人一样操作浏览器。

Tools & CapabilitiesManifest valid

★ 0

MIT

TypeScript

Aug 14, 2026

dsh plugin --profile web add dsh-tool-playwright

by anweat

Self-contained browser runtime plugin for DeepSeek Harness — bundles Playwright (chromium) and OpenCLI as plugin-local dependencies, exposes a browser service and interactive browser tools.

Tools & CapabilitiesManifest valid

★ 30

↓ 833/wk

MIT

TypeScript

Oct 27, 2026

dsh plugin --profile web add @anweat/dsh-browser

by PangYiMing

DSH plugin for controlling browsers (CDP/Playwright) — DeepSeek Harness 操控浏览器插件

Manifest valid

★ 0

MIT

JavaScript

Aug 13, 2026

dsh plugin --profile web add dsh-browser-control