Raised: $0
0% of monthly goal Help us cross the finish line!
Goal: $12,000
Raised: $0 Goal: $12,000
0% of monthly goal Help us cross the finish line!
Sponsor DDEV

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.

add-on registry tests last commit release

Overview

This add-on installs @playwright/cli globally in the DDEV web container along with its bundled Chromium browser, and automatically installs Claude Code skills on container start.

Playwright CLI is a token-efficient command-line tool designed for AI coding agents such as Claude Code, GitHub Copilot, and Cursor. It lets agents interact with Playwright browsers through simple shell commands instead of writing full test scripts.

What this add-on does:

Installation

ddev add-on get e0ipso/ddev-playwright-cli
ddev restart

The Dockerfile is activated automatically on install. After installation, commit the .ddev directory to version control.

Usage

All Playwright CLI commands are available through ddev exec playwright-cli:

# Open a URL in the browser.
ddev exec playwright-cli open https://example.ddev.site

# Take a snapshot of the current page (returns an accessibility tree).
ddev exec playwright-cli snapshot

# Click an element, fill a field, etc.
ddev exec playwright-cli click --selector "text=Log in"
ddev exec playwright-cli fill --selector "#edit-name" --value admin
Command Description
ddev exec playwright-cli --version Check the installed version
ddev exec playwright-cli --help View available commands
ddev exec playwright-cli install --skills Manually (re-)install Claude Code skills

Credits

Contributed and maintained by @e0ipso

If you find this add-on useful, please star it on GitHub — stars show appreciation and help maintainers know their work matters.