dsh-plugin-browser-qa: Browser QA in DSH Using Real Chrome/Edge

Introduction

When troubleshooting frontend issues in DeepSeek Harness (DSH), agents often can only infer based on static descriptions or image snippets, making it difficult to reproduce the entire “click, wait for load, check console and network” chain. Solutions like Playwright require installing additional browsers and dependencies, which might not be convenient in Windows environments.

dsh-plugin-browser-qa is a community-maintained local MCP plugin: it opens real pages on an installed Chrome or Edge via Chrome DevTools Protocol (CDP), exposing navigation, clicking, inputting, screenshots, and console/network information to the agent for diagnosing visual and behavioral defects.

What is this

The full name corresponds to the repository thegabopacheco-sudo/dsh-plugin-browser-qa, maintained by thegabopacheco-sudo, and is categorized as “Online Tools” in the SkillHub directory. It does not download an independent browser nor does it depend on Playwright; instead, it uses WebSocket to connect to the debug port of the local Chrome/Edge, launching a browser instance separately in headless mode by default.

The license is MIT (consistent with README and package.json).

Core Features: 10 MCP Tools

Agents manipulate pages through tools prefixed with mcp__browser__*. The capabilities listed in the README are as follows.

Tool Description
mcp__browser__open Open a URL within the whitelist and wait for it to load
mcp__browser__click Click by CSS selector or visible text
mcp__browser__type Type in input/textarea/contenteditable, optionally submitting the form
mcp__browser__wait Wait for a specified number of milliseconds or until a selector appears
mcp__browser__screenshot Capture the viewport, full page, or an element; the image is returned with the result
mcp__browser__console Read captured console logs and errors, filterable by level/text
mcp__browser__network View request methods, URLs, status, MIME, and failures; filterable
mcp__browser__read Read visible text from the full page or under a selector
mcp__browser__status View browser, tab, whitelist, and mode status
mcp__browser__close Close the tab; close the browser as well when shutdown:true

Installation and Activation

Environment requirements (README): Windows 10/11, Node ≥ 20 (provided by harness), and Chrome or Edge installed locally. postinstall will copy the runtime to <DSH_HOME>\plugins\browser-qa.

Graphical Interface: Install github:thegabopacheco-sudo/dsh-plugin-browser-qa in DSH → Settings → Plugins, and allow script installation when prompted by DSH.

CLI (for unmanaged profiles):

dsh plugin --profile <perfil> add github:thegabopacheco-sudo/dsh-plugin-browser-qa

If “Install scripts need your permission” appears, you need to approve postinstall; if the prompt recurs, the README suggests checking if allowBuilds is true in <perfil>\pnpm-workspace.yaml (do not leave placeholder text).

If the tools do not appear, check the <DSH_HOME>\plugins\browser-qa\server.mjs and mcp-browser-qa configuration lines, and restart DSH as needed.

Configuration

Control behavior through environment variables; the fields in the README are as follows.

Variable Purpose
DSH_BROWSER_ALLOWED_DOMAINS Comma-separated domain whitelist (defaults include localhost,127.0.0.1,wendigocio.com,.wendigocio.com)
DSH_BROWSER_ALLOW_ALL Set to 1 to disable the whitelist (trusted environments only)
DSH_BROWSER_HEADLESS 0 is windowed mode (default is headless)
DSH_BROWSER_PORT CDP debug port (default 9333)
DSH_BROWSER_PATH Explicitly specify the path to chrome.exe / msedge.exe
DSH_BROWSER_MODE Disable click and type when read-only
DSH_BROWSER_SKIP_POSTINSTALL Skip postinstall deployment when 1

Local data: Screenshots are in <DSH_HOME>\cache\browser-qa\shots, and navigation and operation audits are written to <DSH_HOME>\cache\browser-qa\audit.jsonl. The plugin uses an isolated user-data-dir and does not read the user’s daily browser configuration.

Security and Rate Limiting

open is constrained by the domain whitelist; read-only mode is optional to avoid clicking and inputting; navigation, clicking, and inputting are logged in audits. Operation rate limiting is 120 times per minute. The model side notes that using real credentials, placing orders, shipping, or performing high-risk operations like deletion is prohibited without confirmation.

It is recommended to review the repository source code and MIT license before installation; the plugin runs with the permissions of the current DSH process and is not affiliated with official DeepSeek / Fangfang; SkillHub is an independent directory site.

Typical Usage

Reproducible examples from the README (agents can be driven by natural language):

  1. “Open http://localhost:3000/owner, take a screenshot, and describe what is on the page.”
  2. “Click the Guardar button and check if a notification appears.”
  3. “After loading is complete, check the console and network: which requests failed?”
  4. “Type prueba in the search box and submit it, then take a screenshot to see the results.”

When a domain is blocked, add the target to DSH_BROWSER_ALLOWED_DOMAINS. If the browser is not found, install Chrome/Edge or set DSH_BROWSER_PATH.

DSH Plugin Ecosystem

DSH favors “everything is a plugin”: capabilities are attached to the harness in the form of MCPs, etc. dsh-plugin-browser-qa turns a local real browser into an orchestratable QA surface, suitable for doing quick regression and troubleshooting in agent conversations for local or intranet web applications, without needing to set up a separate automation testing stack first.

  • Directory page: https://www.skillhub.cn/plugins/thegabopacheco-sudo/dsh-plugin-browser-qa
  • Source code and documentation: https://github.com/thegabopacheco-sudo/dsh-plugin-browser-qa (includes English and Cómo funciona)
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye