- Home
- Skills
- Testing & Debugging
- playwright-cli-cdp
Playwright Cli Cdp
Chrome browser automation over CDP with playwright-cli: task-isolated profiles, dynamic ports, unique agent sessions, snapshots and UI debugging. Free MIT-licensed skill by betterlmy.
Free
Works with the AI Agents you already use
About this skill
Author and open-source origin
Created and maintained by betterlmy. This is the free, MIT-licensed playwright-cli-cdp skill from betterlmy/agent-skills. The original source remains freely available on GitHub. The included LICENSE preserves the copyright and MIT permission notice.
What it does
Guides a local coding agent to control Chrome-family browsers exclusively through Chrome DevTools Protocol and playwright-cli. It provides instructions, Bash/PowerShell helper scripts, reference documentation and regression tests; it does not bundle Chrome or the playwright-cli application.
- Creates a new browser profile, OS-assigned debugging port and unique CLI session for each task.
- Attaches to a user-supplied CDP endpoint without silently taking over another task's browser.
- Supports snapshot-based clicks, form entry, screenshots, console/network inspection, request mocking and native CDP commands, subject to installed CLI capabilities.
- Separates session artifacts and keeps the browser running for user inspection unless explicitly asked to close it.
- Includes guidance on interaction failures, UI validation boundaries and WSL-to-Windows Chrome startup.
Requirements and scope
Requires a local agent with terminal, filesystem and browser access, an installed compatible playwright-cli/Node.js environment, and Chrome, Chromium or Edge. Bash workflows use Python 3; Windows startup uses PowerShell. WSL uses the Windows host browser. The agent must be able to access and execute the packaged helper scripts; a text-only MCP client without local tool access is insufficient.
Safety and limitations
CDP launchers bind to 127.0.0.1. Separate profiles do not share logins, but actions on the same backend account can still affect shared server data. Only automate sites and data you are authorized to access. Browser profiles, screenshots and exported storage may contain sensitive information and remain under the user's control. Firefox and WebKit are outside scope. The default navigation timeout is 15 seconds. CLI capability checks determine available commands; not every documented feature has been tested on every platform or CLI version.
License
MIT. Copyright (c) 2026 betterlmy. Keep the included copyright and license notice when redistributing. This listing does not change the MIT license of the public source.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Testing & Debugging.
Chromium-family only; requires locally executable helper scripts and installed external tools. A text-only MCP client is insufficient. CLI features vary by version; run capability checks. Default navigation timeout is 15 seconds. New profiles require separate login. Profile isolation does not isolate backend account data. Browsers and profiles are retained unless the user authorizes cleanup.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 21 days ago
- Free with an Agensi account
- Software
- playwright-cli
Node.js
Google ChromeorChromiumorMicrosoft EdgeTerminal accessBashPython 3SilentlyContinuewas
Install playwright-cli (@playwright/cli) separately. Bash and Python 3 run the Bash workflows. On Windows and WSL, Windows PowerShell starts the host browser.
Permissions
Runs local helper scripts and playwright-cli; reads packaged scripts/references and creates browser profiles, snapshots, logs and optional user-requested screenshots or storage exports. Reads documented CDP_/PLAYWRIGHT_ configuration variables. Connects to a loopback CDP endpoint and user-authorized websites. No platform-specific account is required by the skill. Do not upload cookies, credentials or browser profiles. Source: https://github.com/betterlmy/agent-skills/tree/main/skills/playwright-cli-cdp ; author: betterlmy ; license: MIT.