/ الدليل / الملعب / dev-browser
● مجتمع SawyerHood ⚡ فوري

dev-browser

بواسطة SawyerHood · SawyerHood/dev-browser

A Claude Skill that spins up a devtools-enabled browser your agent can drive — navigate, click, inspect, screenshot.

dev-browser gives your Claude agent a dev-oriented headless browser via skill prompts. It wraps a CDP-based browser with agent-friendly affordances: stable selectors, screenshot-on-every-action, and DOM snapshots ready to chunk. Ideal when you need a browser but don't want to set up playwright end-to-end.

لماذا تستخدمه

الميزات الأساسية

عرض مباشر

كيف يبدو في الممارسة

جاهز

التثبيت

اختر العميل

~/Library/Application Support/Claude/claude_desktop_config.json  · Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "dev-browser-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/SawyerHood/dev-browser",
        "~/.claude/skills/dev-browser"
      ],
      "_inferred": true
    }
  }
}

افتح Claude Desktop → Settings → Developer → Edit Config. أعد التشغيل بعد الحفظ.

~/.cursor/mcp.json · .cursor/mcp.json
{
  "mcpServers": {
    "dev-browser-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/SawyerHood/dev-browser",
        "~/.claude/skills/dev-browser"
      ],
      "_inferred": true
    }
  }
}

يستخدم Cursor نفس مخطط mcpServers مثل Claude Desktop. إعدادات المشروع أولى من الإعدادات العامة.

VS Code → Cline → MCP Servers → Edit
{
  "mcpServers": {
    "dev-browser-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/SawyerHood/dev-browser",
        "~/.claude/skills/dev-browser"
      ],
      "_inferred": true
    }
  }
}

انقر على أيقونة MCP Servers في شريط Cline الجانبي، ثم "Edit Configuration".

~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "dev-browser-skill": {
      "command": "git",
      "args": [
        "clone",
        "https://github.com/SawyerHood/dev-browser",
        "~/.claude/skills/dev-browser"
      ],
      "_inferred": true
    }
  }
}

نفس الصيغة مثل Claude Desktop. أعد تشغيل Windsurf لتطبيق التغييرات.

~/.continue/config.json
{
  "mcpServers": [
    {
      "name": "dev-browser-skill",
      "command": "git",
      "args": [
        "clone",
        "https://github.com/SawyerHood/dev-browser",
        "~/.claude/skills/dev-browser"
      ]
    }
  ]
}

يستخدم Continue مصفوفة من كائنات الخادم بدلاً من خريطة.

~/.config/zed/settings.json
{
  "context_servers": {
    "dev-browser-skill": {
      "command": {
        "path": "git",
        "args": [
          "clone",
          "https://github.com/SawyerHood/dev-browser",
          "~/.claude/skills/dev-browser"
        ]
      }
    }
  }
}

أضف إلى context_servers. يعيد Zed التحميل تلقائيًا عند الحفظ.

claude mcp add dev-browser-skill -- git clone https://github.com/SawyerHood/dev-browser ~/.claude/skills/dev-browser

أمر من سطر واحد. تحقق باستخدام claude mcp list. احذف باستخدام claude mcp remove.

حالات الاستخدام

استخدامات عملية: dev-browser

Do quick web research without setting up an MCP

👤 Devs who don't want Playwright in their MCP config ⏱ ~15 min beginner

متى تستخدمه: You want your Claude Code session to browse something once without committing to a persistent browser server.

المتطلبات الأساسية
  • Skill installed — git clone https://github.com/SawyerHood/dev-browser ~/.claude/skills/dev-browser
  • Chromium availablenpx playwright install chromium fetches the binary
الخطوات
  1. Spin up
    Use dev-browser. Open https://vercel.com/docs/functions. List the sidebar sections.✓ تم النسخ
    → Headings extracted with anchor URLs
  2. Drill in
    Navigate to "Runtime" — read the page and summarize the three runtime options in one paragraph each.✓ تم النسخ
    → Three paragraphs with citations to URL fragments
  3. Capture
    Screenshot the pricing section for my notes.✓ تم النسخ
    → Screenshot saved locally

النتيجة: Research done with a browser when you needed one, without ongoing infrastructure.

المزالق
  • Chromium binary missing — Run npx playwright install chromium once
اجمعها مع: filesystem

Sanity check a login flow on a staging env

👤 QA-minded devs pre-deploy ⏱ ~5 min beginner

متى تستخدمه: Before deploying, you want to click through the critical happy path once.

الخطوات
  1. Open
    Use dev-browser. Open https://staging.myapp.com, take a screenshot.✓ تم النسخ
    → Landing page screenshot
  2. Sign in
    Click "Sign in", enter [email protected] / Test1234, submit.✓ تم النسخ
    → Post-login dashboard captured
  3. Confirm
    Is the "Welcome, qa" string visible on the page?✓ تم النسخ
    → Yes/no + screenshot

النتيجة: A 60-second smoke test before clicking Deploy.

المزالق
  • CAPTCHA on login — Add a test-only bypass in staging; dev-browser is not a captcha breaker

التركيبات

اجمعها مع خوادم MCP أخرى لتحقيق نتائج x10

dev-browser-skill + filesystem

Save screenshots alongside notes

After every step, screenshot into /notes/web-research/.✓ تم النسخ
dev-browser-skill + chrome-devtools

When you need devtools-level depth, escalate to chrome-devtools MCP

dev-browser gave me the page — now use chrome-devtools to check the network waterfall.✓ تم النسخ

الأدوات

ما يوفره هذا الـ MCP

الأداةالمدخلاتمتى تستدعيهاالتكلفة
open_url url Navigate 0
click selector|text Interact 0
type selector, text Enter text 0
snapshot none Ground in current state 0

التكلفة والحدود

تكلفة التشغيل

حصة API
N/A
الرموز لكل استدعاء
DOM snapshots size-gated; screenshots base64
التكلفة المالية
Free
نصيحة
Skip snapshots when not needed — the screenshot alone is often enough

الأمان

الصلاحيات والأسرار ونطاق الأثر

تخزين بيانات الاعتماد: None
نقل البيانات الخارجي: Direct to sites you navigate to

استكشاف الأخطاء

الأخطاء الشائعة وحلولها

Error: Executable doesn't exist at chromium path

npx playwright install chromium — the skill assumes Playwright's binaries

Selector not found

Run snapshot first; pick selector from real DOM, not guessed

Page blocks automation

Site detected headless — try running with headless=false in skill config

البدائل

dev-browser مقابل البدائل

البديلمتى تستخدمهاالمقايضة
playwright MCPYou want a persistent, MCP-registered browserMore setup; skill is lighter
mcp-chromeYou need your real logged-in ChromeNot a headless test browser

المزيد

الموارد

📖 اقرأ ملف README الرسمي على GitHub

🐙 تصفح القضايا المفتوحة

🔍 تصفح أكثر من 400 خادم MCP و Skills