Development

Browser Automation with Claude Code Dev Browser Plugin

Guide to using Dev Browser plugin for Claude Code to automate Chrome browsers faster than Playwright MCP tools.

February 23, 2026
6 min read
By ClawList Team

Supercharge Your Browser Automation: Claude Code's Dev Browser Plugin vs. Playwright MCP

If you've been relying on Playwright-based MCP tools for browser automation inside Claude Code, you've probably hit the same wall every developer does: slow startup times, fresh incognito sessions on every run, and the tedious cycle of logging in, waiting for pages to load, and losing all your session state between tasks. There's a better way.

Today we're looking at Dev Browser, a Claude Code skill-based browser automation plugin that addresses these pain points head-on by connecting directly to your existing Chrome instance — no cold starts, no lost sessions, no wasted time.


The Problem with Playwright MCP for Browser Automation

Before diving into the solution, it's worth understanding why the status quo falls short.

Playwright MCP tools work by spinning up a brand-new, headless or incognito browser session every time a task runs. That means:

  • Re-authentication on every run — cookies, tokens, and session data are wiped clean
  • Cold browser startup overhead — launching a fresh Chromium instance adds latency to every automation cycle
  • No persistent state — bookmarks, extensions, local storage, and cached assets are gone
  • Slower iteration loops — for rapid prototyping or repetitive tasks, this overhead compounds quickly

For one-off scraping jobs this might be acceptable. But for developers building AI-driven workflows, testing authenticated applications, or running repeated automation tasks during development, this model is genuinely painful.


Introducing Dev Browser: Claude Code Skill-Based Browser Automation

Dev Browser is a plugin for Claude Code that takes a fundamentally different approach. Instead of launching a new browser, it attaches directly to your existing Chrome browser — complete with your logged-in sessions, cookies, extensions, and browsing context.

Key Advantages Over Playwright MCP

  • Persistent sessions — stay logged in across tasks; no more re-authentication loops
  • Faster execution — no browser cold-start penalty; your existing Chrome instance is already warm
  • Real browser environment — your actual extensions, profiles, and settings are intact
  • Skill-based integration — leverages Claude Code's /plugin system for clean, composable automation

Installation

Getting Dev Browser set up inside Claude Code is straightforward. Inside Claude Code, run:

/plugin marketplace

Search for Dev Browser and install it. Once installed, you'll need to launch Chrome with the remote debugging port enabled so the plugin can attach to it:

# macOS
/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome \
  --remote-debugging-port=9222 \
  --user-data-dir=/tmp/chrome-dev-profile

# Linux
google-chrome \
  --remote-debugging-port=9222 \
  --user-data-dir=/tmp/chrome-dev-profile

# Windows (PowerShell)
& "C:\Program Files\Google\Chrome\Application\chrome.exe" `
  --remote-debugging-port=9222 `
  --user-data-dir="$env:TEMP\chrome-dev-profile"

Tip: If you want to use your actual Chrome profile (with saved logins), replace /tmp/chrome-dev-profile with your real user data directory path. Be aware this locks the profile to one Chrome instance at a time.

Once Chrome is running with the debug port open, Dev Browser connects to it via the Chrome DevTools Protocol (CDP), giving Claude Code full programmatic control over tabs, navigation, DOM interaction, and JavaScript execution.


Practical Use Cases and Workflow Examples

The real power of Dev Browser shows up when you need automation that respects real-world application state.

1. Automated Testing on Authenticated Applications

Testing a SaaS dashboard usually means logging in first. With Playwright MCP, that's a setup step on every single run. With Dev Browser, you log in once manually in Chrome, then let Claude Code take over:

# Example Claude Code prompt using Dev Browser
Navigate to the /admin/reports page, 
click "Generate Monthly Report", 
wait for the export button to appear, 
then download the CSV.

No credentials in your automation scripts. No session management code. Just intent-driven instructions operating on your live, authenticated browser.

2. Rapid UI Iteration and Visual Verification

During frontend development, you often want to validate UI changes across multiple states — logged-in vs. logged-out, different user roles, specific data conditions. Dev Browser lets Claude Code navigate these states in your actual development browser, making it a natural companion to your existing dev server workflow.

3. Web Research and Data Extraction Workflows

For AI engineers building research pipelines, Dev Browser enables Claude Code to browse, extract structured data, and synthesize information across multiple pages — using your real browser session to access paywalled content, internal tools, or sites with bot-detection that blocks headless browsers.

4. Form Automation and Repetitive Admin Tasks

Bulk data entry, repetitive form submissions, or clicking through multi-step admin UIs are tedious but common developer chores. Describe the task to Claude Code with Dev Browser active, and it can handle the mechanical execution while you focus on higher-order work.


Dev Browser vs. Playwright MCP: A Quick Comparison

| Feature | Playwright MCP | Dev Browser (Claude Code) | |---|---|---| | Session persistence | No (fresh each run) | Yes (attaches to existing Chrome) | | Startup speed | Slow (new browser launch) | Fast (connects to running instance) | | Authentication handling | Manual per-run | Persistent via existing session | | Extension support | Limited/headless | Full (your actual Chrome) | | Integration model | MCP server | Claude Code Skill/Plugin | | Bot detection evasion | Harder (headless signals) | More natural (real browser) |


Conclusion

Dev Browser represents a meaningful shift in how Claude Code can interact with the web. By attaching to your existing Chrome session rather than spawning isolated incognito instances, it eliminates the friction that makes Playwright MCP-based workflows feel clunky during active development.

For developers building AI automation pipelines, QA engineers testing authenticated applications, or anyone who wants Claude Code to navigate the real web — not a sanitized headless simulation — Dev Browser is worth adding to your toolkit.

The combination of persistent session state, faster execution, and native Chrome integration makes it a compelling upgrade over pure MCP browser tooling for day-to-day development workflows.


Credit: Originally shared by @Pluvio9yte on X. Follow for more Claude Code tips and AI automation workflows.

Published on ClawList.io — your developer resource hub for AI automation and OpenClaw skills.

Tags

#Claude#automation#browser-automation#Dev-Browser

Related Articles