SD

sawyerhood/dev-browser

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

6.7천 stars 품질 77 트렌드 46MIT

에이전트가 웹 브라우저를 사용할 수 있도록 하는 Claude 스킬

개요

샌드박스된 자바스크립트로 AI 에이전트와 개발자가 브라우저를 제어할 수 있게 해주는 브라우저 자동화 도구입니다. - - 스크립트가 호스트 접근 없이 QuickJS WASM 샌드박스에서 실행됨 - - 한 번만 탐색, 여러 스크립트 간 상호작용 - - 실행 중인 크롬에 연결하거나 새로 실행한 Chromium 실행 - - 방문, 클릭, 채우기, 위치 확인, 평가, 스크린샷 등 다양한 기능 https://github.com/user-attachments/assets/c6cf7fb9-b1dc-46ed-93b9-6e7240990c53 Windows에서 실행 중인 Chrome 인스턴스에 연결하려면: Windows npm 설치는 설치 후 네이티브 dev-browser-windows-x64.exe 릴리스 자산을 다운로드하며, 생성된 npm 시임이 해당 실행 파일을 직접 호출합니다. 설치 후 에이전트에게 dev-browser-help를 실행하라고 명령하세요 — 도움말 출력에는 현재 LLM 사용 가이드와 API 참고 자료가 포함되어 있습니다. 로컬 스킬을 발견한 에이전트의 경우, 내장 스킬을 명시적으로 설치하거나 새로고침하세요: 플래그는 결합될 수 있습니다. 인터랙티브 터미널을 통해 개발자-브라우저 설치 스킬 프롬프트가 대상에 표시됩니다.

개요(AI 번역)

Do Browser가 제공했습니다.

dev-browser는 코딩 에이전트가 짧은 자바스크립트 스크립트로 크롬을 제어할 수 있게 합니다. 브라우저는 호출 사이에 열려 있습니다. 그래서 상담원은 한 번만 탐색하고, 페이지를 검사하고, 행동하며, 매번 처음부터 다시 시작하지 않고 결과를 검증할 수 있습니다.

주요 특징:

  • 영속 페이지. 이름 탭은 스크립트 간에 상태를 전달합니다.
  • 컴팩트 스냅샷. 접근성 트리는 에이전트에게 읽기 쉬운 출력과 안정적인 요소 참조를 제공합니다.
  • Real Puppeteer. 스크립트는 Puppeteer Page API와 소수의 에이전트 중심 헬퍼 세트를 사용합니다.
  • 실행 또는 첨부. 격리된 크롬 프로필을 시작하거나 이미 열어둔 브라우저에 연결하세요.

데모

https://github.com/user-attachments/assets/c6cf7fb9-b1dc-46ed-93b9-6e7240990c53

CLI 설치

릴리스 바이너리에는 Bun과 Puppeteer가 포함되어 있습니다. 설치 후에는 Node가 필요하지 않습니다. macOS와 GLIBC 리눅스는 지원; Windows와 musl Linux는 아직 지원되지 않습니다.

스냅 패키지 Chromium은 기본 ~/.dev-browser/v1 디렉터리를 읽을 수 없습니다. Ubuntu에서는 [[T3]를 사용하세요. 또는 DEV_BROWSER_CHROME를 다른 크롬 바이너리로 가리키는 것.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

Brought to you by Do Browser.

dev-browser lets coding agents control Chrome with short JavaScript scripts. The browser stays open between calls, so an agent can navigate once, inspect the page, act, and verify the result without starting over each time.

Key features:

  • Persistent pages. Named tabs carry state across scripts.
  • Compact snapshots. Accessibility trees give agents readable output and stable element refs.
  • Real Puppeteer. Scripts use the Puppeteer Page API plus a small set of agent-focused helpers.
  • Launch or attach. Start an isolated Chrome profile or connect to a browser you already have open.

Demo

https://github.com/user-attachments/assets/c6cf7fb9-b1dc-46ed-93b9-6e7240990c53

CLI installation

npm install -g dev-browser
dev-browser install    # only needed if dev-browser cannot find Chrome

The release binary includes Bun and Puppeteer. Node is not required after installation. macOS and glibc Linux are supported; Windows and musl Linux are not yet supported.

Snap-packaged Chromium cannot read the default ~/.dev-browser/v1 directory. On Ubuntu, use dev-browser install or point DEV_BROWSER_CHROME at another Chrome binary.

If your package manager blocks lifecycle scripts, run npm rebuild -g dev-browser, pnpm approve-builds -g dev-browser, or bun pm -g trust dev-browser. The CLI will also try to download its binary on first use. For a private mirror, set DEV_BROWSER_DOWNLOAD_BASE; set DEV_BROWSER_SKIP_DOWNLOAD=1 if you install the binary yourself.

Quick start

# Launch a headless browser and run a script
dev-browser --headless <<'EOF'
const page = await browser.getPage("main");
await page.goto("https://example.com");
console.log(await page.title());
EOF

# Attach to Chrome started with `dev-browser chrome`
dev-browser chrome
dev-browser --connect <<'EOF'
console.log(await browser.listPages());
EOF

Chrome 136 and newer ignore remote-debugging flags on the default profile. dev-browser chrome handles this by using a dedicated profile and checking that Chrome actually started.

Using it with coding agents

Tell the agent to run dev-browser --help. The built-in guide covers the current API and the preferred look → act → verify workflow.

Agents that discover local skills can install the bundled skill explicitly:

dev-browser install-skill --codex   # ~/.codex/skills/dev-browser/SKILL.md
dev-browser install-skill --claude  # ~/.claude/skills/dev-browser/SKILL.md
dev-browser install-skill --agents  # ~/.agents/skills/dev-browser/SKILL.md

Run dev-browser install-skill without flags to update all three locations.

Idle browser cleanup

Launched browsers close after 30 minutes without a script by default. Change that per command, in the environment, or in ~/.dev-browser/v1/config.json:

GitHub에서 전체 README 보기

추천 도구

다른 키워드를 입력하거나 필터를 제거해 보세요.

설치

npx skillfish add sawyerhood/dev-browser
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →