dsh-playwright-cli
Run the following command in DeepSeek Harness:
dsh plugin install mitao-su/dsh-playwright-cli
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install mitao-su/dsh-playwright-cli in DeepSeek Harness to install; the full source is available at https://github.com/mitao-su/dsh-playwright-cli
About this plugin
In DeepSeek Harness agent workflows, running Playwright E2E tests often meant manually typing out long npx playwright commands—probing versions, installing browsers, juggling a dozen CLI flags, then hunting for the HTML report. dsh-playwright-cli packages these scattered steps into four agent-callable tools, eliminating the friction of hand-crafted commands and letting the agent drive the full test lifecycle as naturally as calling a function.
The four tools cover the entire pipeline: playwright_version confirms the CLI is ready; playwright_install downloads browsers (Chromium by default) and scaffolds @playwright/test when needed; playwright_test executes the suite with support for config, project, grep, workers, reporter, trace, retries, and more; playwright_show_report locates the HTML report—registering a loopback route and returning a clickable URL when a web server is available, or falling back to an absolute file path otherwise. Every command rides on the host shell executor, inheriting sandbox policies, environment variables, output truncation, and timeout or abort classification. Non-zero exits are reported rather than thrown as errors, leaving the model to decide the next step.
Ideally suited to frontend or full-stack developers who run E2E tests inside a DSH agent workflow: the plugin lets the agent autonomously close the loop of install-browser, run-tests, and inspect-report with minimal human intervention, while preserving the safety boundary of sandbox approval and permission escalation.
Use Cases
- Agent auto-detects Playwright version and installs target browsers
- Agent runs the E2E suite and locates the HTML report in one call
- Agent autonomously closes the install-run-inspect loop inside a DSH workflow
Best For
- Frontend developers automating E2E tests inside DSH agent workflows
- Full-stack engineers who want the agent to drive test runs without manual CLI
- DSH plugin users who care about sandbox boundaries and permission approval
Related Plugins
A method pack that makes AI coding agents plan against your real baseline, prove completion with fresh evidence, and reduce reworks and unsafe changes.
Turns the DeepSeek Harness session into a captain that builds a durable sub-agent team, splits goals into dependency-aware tasks, and coordinates work via direct messages and a live Web UI.
Gives coding agents design judgment, letting Claude Code, Cursor, and 70+ agents generate and iterate high-quality UI, presentations, and graphics right from the terminal.
Run the Pi ecosystem's plugins on DeepSeek Harness, unmodified, via a compatibility layer that implements Pi's public extension ABI on DSH's native services.