Skip to main content
Glama

browserd

지속적으로 기록하는 Chromium과 프로그래밍 가능한 DevTools를 MCP를 통해 AI에 노출합니다.

"LLM이 Playwright를 조종하는" 것이 아니라, 보고 있는 모든 것을 기록하는 브라우저 데몬입니다. 그래서 에이전트는 생각하기 전에 발생한 트래픽에 대해 물어볼 수 있습니다.

Node TypeScript MCP Tools Tests


이것이 실제로 무엇인가

대부분의 브라우저-MCP 서버는 Playwright를 감싸고 모델이 클릭하게 합니다. 그것은 개발자가 브라우저를 열어 하는 일의 극히 일부입니다.

browserd는 직접 사용할 수 있는 실제 헤드드(창이 있는) Chromium을 실행하고, 에이전트는 그 뒤에서 지켜봅니다. 지속적인 CDP 연결을 유지하고 네트워크, 콘솔, 예외, 탐색(navigation)을 지속적으로 기록하여 SQLite에 저장합니다. 모델이 마침내 질문을 하면 브라우저가 아닌 데이터베이스를 질의합니다.

   AI ──MCP──> browserd ──CDP──> Chromium (headed, yours to use)
                  │
                  ├── network recorder ──┐
                  ├── console recorder ──┼──> SQLite + content-addressed blobs
                  ├── page recorder ─────┤
                  └── target manager ────┘        (bodies, traces, heap snapshots)

그 차이는 중요합니다. 일반적인 브라우저 자동화 MCP에 "체크아웃이 왜 실패했지?"라고 물어보면 아무것도 없습니다 — 요청은 이미 사라졌습니다. browserd에게 물어보면 페이로드, 응답 본문, 콘솔 오류, 스택 추적, 정확한 소스 라인을 얻습니다.


Related MCP server: browser-for-ai

에이전트가 할 수 있는 일

보기

실제 이미지 블록으로 반환되는 스크린샷(뷰포트 / 전체 페이지 / 요소). 클릭할 대상을 결정하는 데 비전보다 저렴하고 신뢰할 수 있는 안정적인 eNN 참조가 있는 접근성 스냅샷.

동작

클릭, 호버, 입력, 키 조합, 스크롤, 선택, 업로드, 대화상자 처리. 기기 에뮬레이션에서는 터치 디스패치로 대체됩니다.

네트워크

모든 헤더(실제로 전선을 통해 전송된 것 포함), 요청 페이로드, 응답 본문, 개시자(initiator), 타이밍, 리다이렉트 체인, WebSocket 프레임을 포함한 모든 요청. 기록은 첫 페이지 스크립트가 실행되기 전에 준비됩니다.

콘솔

console.* 출력과 스택이 포함된 잡히지 않은 예외, 탐색 간에도 유지됩니다. 또한 DevTools 명령줄 API($, $$, $x)를 갖춘 Runtime.evaluate도 제공합니다.

DOM / CSS

구조적 개요, DevTools가 보여주는 전체 캐스케이드, 그리고 css.explain_visibility — 스타일시트를 넘겨주는 대신 요소를 숨긴 규칙을 지목합니다.

디버거

조건이 있는 실제 중단점, 단계 실행, 호출 프레임, 스코프 체인, 프레임 내 평가. 일시 중지된 스택에서 지역 변수를 읽습니다.

저장소

localStorage, sessionStorage, 쿠키, IndexedDB(읽기 및 쓰기), Cache Storage, 할당량.

프로파일링

CPU 샘플링, JS 커버리지, 디스크로 스트리밍되는 트레이스, 누수 탐지를 위한 생성자 수준 차이(diffing) 가 포함된 힙 스냅샷, 프로세스/CPU 정보.

시뮬레이션

제어된 시계, 시간대, CPU 제한, 네트워크 조건, 기기 에뮬레이션, 위치 정보, 시각 장애, 장애 주입.

사람들이 기대하지 않는 기능들

시간 여행. time.run("30m")은 시계를 앞으로 진행시키고 만기가 된 모든 타이머를 실행합니다. 60초 간격 타이머는 즉시 30번 실행됩니다. time.jump("30m")은 각 타이머를 한 번만 실행하면서 점프합니다. "노트북을 세 시간 닫아둔" 경우입니다. 다른 버그 유형, 다른 도구.

time.install({ time: "2030-01-01T00:00:00Z" })   # page now believes it is 2030
time.run({ duration: "30m" })                     # 30 interval ticks, no waiting
time.freeze()                                     # pin it and inspect

장애 주입. "저장이 20초 걸리면 UI는 어떻게 하나?"라고 묻고 실제로 확인하세요.

fault.delay({ url: "**/api/save", delay: "20s" })
fault.replace_response({ url: "**/api/user", status: 500, body: {...} })
fault.drop_next({ url: "**/api/payment", count: 1 })

누수 탐지. 두 개의 힙 스냅샷과 차이를 생성자별로 보고하고 분리된 DOM 노드를 지목합니다 — 전형적인 누수 시그니처입니다.

사람 ↔ AI 핸드오프. inspector.pick은 실제 DevTools 요소 선택기를 활성화하여 당신이 고장난 것을 클릭하면, 에이전트가 노드 핸들을 읽습니다. page.highlight은 반대 방향입니다.


설치

Node ≥ 20.11이 필요합니다. Chromium은 Playwright에 번들된 빌드가 있으면 그것을 사용합니다(브랜드 Chrome 137+에서는 --load-extension이 제거되었지만 번들 빌드에는 여전히 있습니다), 없으면 시스템 설치를 사용합니다.

git clone <your-remote> browserd && cd browserd
npm install
npm run build

MCP 클라이언트에 등록하기

node scripts/install-mcp.mjs

이것은 Claude Desktop, Claude Code, Codex CLI, Cursor, Windsurf, VS Code를 감지하고 기존 설정에 병합하며(먼저 .bak 파일을 작성), 다른 서버를 덮어쓰지 않습니다.

node scripts/install-mcp.mjs --print            # show the JSON, change nothing
node scripts/install-mcp.mjs --client codex     # just one client
node scripts/install-mcp.mjs --headless         # auto-launch headless
node scripts/install-mcp.mjs --http --port 7331 # register the HTTP endpoint instead

지원 클라이언트: Claude Desktop, Claude Code, Codex CLI, Cursor, Windsurf, VS Code. Codex는 JSON 대신 [mcp_servers.browserd] TOML 섹션을 사용합니다. 설치 프로그램은 주석과 다른 설정이 유지되도록 그 파일을 정밀하게 편집합니다.

그런 다음 모든 클라이언트가 실제로 실행할 수 있는지 확인하세요:

npm run verify-mcp
  OK    Claude Code      174 tools advertised
  OK    Codex CLI        174 tools advertised
  OK    VS Code          174 tools advertised

이것은 실제 설정 파일을 읽고 지정된 항목과 MCP 핸드셰이크를 완료하므로, 오래된 경로나 수동 편집된 항목이 작동한다고 가정되는 대신 발견됩니다.

또는 직접 추가하세요:

{
  "mcpServers": {
    "browserd": {
      "command": "node",
      "args": ["/absolute/path/to/browserd/dist/cli.js"]
    }
  }
}

클라이언트를 다시 시작하세요. 브라우저가 열려 있을 필요는 없습니다 — 브라우저가 필요한 첫 도구 호출이 그것을 실행합니다.

사용해 보기

에이전트에게 물어보세요:

news.ycombinator.com을 열고, 스크린샷을 보여준 다음, 500ms보다 오래 걸린 모든 요청과 가장 느린 요청이 무엇을 반환했는지 알려줘.

또는 전체 피치를 위해:

localhost:3000에 있는 내 앱으로 가서 Checkout을 클릭하고 왜 실패하는지 알려줘.

그것은 실패를 스크린샷으로 찍고, 콘솔 오류를 읽고, 실패한 요청을 찾아 페이로드와 400 응답 본문을 보여주며, 로드된 소스에서 호출 함수를 grep하고 파일과 줄을 알려줍니다.


데몬 직접 실행

node dist/cli.js                 # MCP over stdio (default)
node dist/cli.js --http          # Streamable HTTP on 127.0.0.1:7331/mcp
node dist/cli.js --tools         # print the tool surface and exit
node dist/cli.js --help

플래그

의미

--port N

HTTP 포트 (기본값 7331; 0은 사용 가능한 포트 선택)

--host HOST

HTTP 바인드 주소 (기본값 127.0.0.1 — 공개적으로 노출하지 마세요)

--profile NAME

자동 실행 브라우저에 사용되는 프로필

--headless

헤드리스 자동 실행. 기본값은 직접 사용할 수도 있는 보이는 창입니다.

--no-auto-launch

암시적으로 생성하지 않음; browser.launch 필요

--log-level LEVEL

trace | debug | info | warn | error

환경 변수: AGENTBROWSER_HOME, AGENTBROWSER_PORT, AGENTBROWSER_LOG_LEVEL, AGENTBROWSER_HEADLESS.

HTTP 모드는 루프백에만 바인드하고 Origin을 검증합니다. 이 엔드포인트는 완전한 브라우저 제어이며, 공개 웹의 페이지가 접근할 수 없어야 합니다.


두 가지 설계 규칙

1. 먼저 기록하고 나중에 질의

Chromium이 이벤트를 푸시하면 데몬이 이를 저장합니다. 사전에 준비할 필요가 없으며 모델이 생각하는 동안 어떤 이벤트도 놓치지 않습니다. 기록은 탐색, 탭 닫기, 데몬 재시작 후에도 유지됩니다.

이것은 핵심 부하를 담당합니다: 수집기는 도메인을 활성화하기 전에 CDP 이벤트를 구독하고, 대상 관리자는 계측이 활성화될 때까지 새 대상을 waitForDebuggerOnStart에 보관합니다. 그래서 "요청을 놓치지 않았다"는 말이 개연성이 아니라 사실이 됩니다.

2. 대용량 페이로드는 컨텍스트에 들어가지 않습니다

200MB 응답은 콘텐츠 주소 지정 blob으로 저장되고 아티팩트 핸들로 반환됩니다. 에이전트는 artifact.search, artifact.read_lines 또는 artifact.json_query(JSONPath 하위 집합)로 그것을 읽습니다. 트레이스, 힙 스냅샷, DOM 덤프, 콘솔 내보내기도 마찬가지입니다.

도구는 설계상 질의 우선입니다: dom.get_html보다 dom.summary를, network.list_requests보다 network.summarize를, js.get_source보다 js.search_source를 먼저 사용합니다.


하나의 브라우저에서 사람과 AI

브라우저는 창이 있고 당신의 것입니다. browser.set_control_mode가 중재합니다:

모드

의미

observe

AI가 모든 것을 읽고 아무것도 변경하지 않음

shared

둘 다 제어 (기본값)

agent

AI가 입력을 소유

paused

AI 동결; 읽기는 여전히 작동

모든 변경 도구는 이것을 확인합니다 — 원시 cdp.send 탈출구를 포함합니다.


도구 표면

174개의 도구. node dist/cli.js --tools로 모두 나열됩니다.

browser.*      list, launch, connect, status, list_targets, set_control_mode, close
page.*         navigate, screenshot, snapshot, click, type, press, scroll, extract_text,
               wait_for, highlight, dialogs, viewport, frames, tabs
dom.*          summary, query, inspect, get_html, set_html, set_attribute, remove, export
css.*          computed, matched_rules, set_style, stylesheets, explain_visibility
js.*           evaluate, list_scripts, get_source, search_source
console.*      query, exceptions, export, clear
network.*      list_requests, get_request, get_body, summarize, search_bodies,
               list_websockets, ws_messages, export_har, simulate, clear
storage.*      local/session, cookies, indexeddb, caches, usage, export
debugger.*     enable, breakpoints, pause, resume, step, call_frames,
               evaluate_on_frame, inspect_object, wait_for_pause
inspector.*    pick, picked, element, parents, children, snapshot, accessibility_tree
profile.*      start/stop/status (presets: cpu, slow-page, hang, memory-leak, full)
profiler.*     cpu, coverage, trace, long_tasks
memory.*       heap.snapshot, heap.compare, gc, usage
time.*         install, freeze, run, jump, resume, set_fixed_date, set_wall_clock, virtual
device.*       preset, viewport, orientation, reset
environment.*  timezone, locale, color_scheme, reduced_motion, vision, status, reset
fault.*        abort, delay, replace_response, drop_next, modify_headers, list, clear
artifact.*     list, stat, read, read_lines, search, json_query, export
cdp.send       escape hatch to any raw CDP method

테스트

npm test                      # build + live MCP suite + HTTP suite
npm run test:live             # 117 checks: real MCP client, real Chromium, local fixture
npm run test:live:headed      # same, with a visible window
npm run test:deep             # 35 checks against a real public site
npm run test:http             # Streamable HTTP transport + origin guard
npm run test:real             # headed narrated walkthrough on live sites

모든 스위트는 실제 서버를 실행하고 실제 MCP 클라이언트를 연결합니다. 검증은 tools/call을 통해 이루어지므로 스키마 검증, 핸들러 연결, 운영이 함께 다뤄집니다.

호출이 반환되었다는 것이 아니라 동작을 검증합니다:

  • 400의 요청 페이로드와 응답 본문이 모두 읽을 수 있어야 함

  • 700KB 응답이 인라인 약 500자의 아티팩트로 반환되어야 함

  • time.run("30m")은 60초 간격을 정확히 30번 실행하고; time.jump는 한 번 실행해야 함

  • 일시 중지된 호출 프레임에서 지역 변수를 읽어야 함 (total=75, tax=15)

  • observe 모드는 읽기는 허용하면서 변경 3/3을 거부해야 함

  • 내보낸 HAR가 유효한 HAR 1.2로 다시 파싱되어야 함

  • 힙 스냅샷이 실제 .heapsnapshot으로 로드되어야 함

tests/deep-dive.mjs는 실제 Hacker News에 대해 실행됩니다: h2/nginx/원격 IP 세부 정보가 포함된 14개의 실제 요청, 와이어에서 읽은 34KB 응답 본문, 1285노드 DOMSnapshot, 1603노드 접근성 트리, 8MB 힙 델타가 감지됩니다.


레이아웃

src/
  cdp/        persistent WebSocket, flat-session multiplexing
  browser/    launcher, target manager (auto-attach + debugger hold), registry, faults
  collect/    network, console, page and execution-context recorders
  store/      SQLite schema, blob store, artifact store
  ops/        the actual capabilities, independent of MCP
  mcp/        tool definitions and server wiring
  cli.ts      stdio / HTTP entry point
tests/        live MCP suites
scripts/      install-mcp.mjs

MCP는 데몬 자체가 아니라 데몬에 대한 하나의 인터페이스입니다. src/index.ts는 핵심을 내보내 CLI, REST 레이어 또는 테스트 하니스가 직접 구동할 수 있습니다.

데이터는 ~/.agent-browser에 있습니다(AGENTBROWSER_HOME으로 이동 가능): browserd.db, blobs/, artifacts/, profiles/, logs/.


보안 참고 사항

  • 루프백에만 바인드하세요. 이 엔드포인트는 로그인된 세션을 보유한 브라우저의 완전한 제어입니다.

  • ~/.agent-browser/profiles 아래의 브라우저 프로필에는 쿠키와 세션 토큰이 포함되어 있습니다. 기록된 본문에는 방문한 페이지가 반환한 내용이 포함됩니다. 둘 다 gitignore 처리되어 있습니다. 그 상태를 유지하세요.

  • --net-log-capture-mode=Everything은 와이어에서 나온 원시 바이트를 포함할 수 있습니다. 소유한 트래픽에만 사용하세요.

  • cdp.send는 제한 없는 CDP이며 제어 모드로만 게이트됩니다.


알려진 제한 사항

  • Debugger.setScriptSource 라이브 편집은 현재 Chromium에서 제거되었습니다 — 소스를 편집하고 다시 로드하세요.

  • Network.getRequestPostData는 multipart 업로드에서 파일을 생략할 수 있으므로, "모든 업로드의 모든 바이트"가 해당 경로만으로는 보장되지 않습니다. 스택 수준의 세부 정보(DNS, 소켓, TLS)를 보려면 capture_netlog와 함께 실행하세요.

  • 제어된 클록은 addScriptToEvaluateOnNewDocument를 통해 설치되는 가짜 타이머 shim이며, 데몬이 원시 CDP를 사용하므로 Playwright의 Clock API가 아닙니다. time.virtual은 Chromium 자체의 가상 시간 정책을 노출합니다; 둘은 하나의 대상에서 결합할 수 없으며, 데몬은 이를 겹쳐 사용하는 것을 거부합니다.

  • 터치 에뮬레이션은 의도적으로 Emulation.setEmitTouchEventsForMouse를 설정하지 않습니다: 해당 플래그는 Chromium이 Input.dispatchMouseEvent를 영구적으로 인식하지 못하게 만듭니다. 대신 page.click이 탭을 합성합니다.

  • ontouchstart in window는 문서 생성 시 결정되므로, 다시 로드한 후에 나타납니다. navigator.maxTouchPoints는 즉시 활성화됩니다.

  • Target.openDevTools (devtools.open)는 실험적이며 일부 빌드에서는 거부됩니다.

  • 센서 에뮬레이션은 구현되어 있지 않습니다. 원시 프로세스 메모리 읽기/쓰기는 범위를 벗어납니다 — 이를 위해서는 별도의 디버거 어댑터가 필요합니다.


라이선스

MIT

Available Tools

239 tools
app.diagnose_interactionA

Click a control and report what the application actually did: whether a handler was attached, whether it threw, whether any request was initiated, whether the app consumed the input, and any error the framework caught. Use instead of page.click when a control appears to do nothing - page.click reports DOM mutations, which unrelated re-renders also produce.

Inputs: text, frame_id, selector, settle_ms, +2 more.

app.error_stateA
Read-only

Errors the application is holding that never reached the console. Frameworks (TanStack Query, SWR, Redux) catch what their own code paths throw and park it in state, so a handler can throw, roll its optimistic update back, and leave console.exceptions empty. Start here when a control does nothing and the console looks clean. Also reports whether this origin is a secure context, since crypto.randomUUID, clipboard and service workers are undefined on plain http:// but present on localhost.

Inputs: frame_id, target_id, browser_id, include_capabilities.

artifact.exportB
Read-only

Copy an artifact to a path on the daemon host, for tooling outside this session.

Inputs: path (required), artifact_id (required).

artifact.json_queryA
Read-only

JSONPath query against a JSON artifact: $.data.users[?(@.status == 'disabled')], $.a[1:5], $..name. Beats scanning a huge response by hand.

Inputs: path (required), artifact_id (required), limit.

artifact.listC
Read-only

Stored artifacts: bodies, screenshots, traces, heap snapshots, exports.

Inputs: kind, label, limit, browser_id.

artifact.readB
Read-only

Bounded byte-range read. Use encoding "base64" for binary artifacts.

Inputs: artifact_id (required), length, offset, encoding.

artifact.read_linesB
Read-only

Read a line window from a text artifact, 1-indexed and inclusive.

Inputs: artifact_id (required), end, start.

artifact.searchB
Read-only

Streamed search inside an artifact, so a multi-hundred-megabyte body is searchable without ever being fully loaded.

Inputs: query (required), artifact_id (required), is_regex, ignore_case, +2 more.

artifact.statC
Read-only

Size, mime, checksum and origin of one artifact.

Inputs: artifact_id (required).

attention.analyzeA
Read-only

Predict visual attention on a saved PNG screenshot with HotGaze. Returns focal points, optional region scores, and a heatmap overlay.

Inputs: screenshot_id (required), faces, backend, overlay, +2 more.

attention.compareA
Read-only

Compare predicted attention on two same-sized PNG screenshot artifacts. Regions apply to the same pixel coordinates in both screenshots.

Inputs: baseline_id (required), candidate_id (required), faces, backend, +1 more.

browser.closeA

Shut down a managed browser, or detach from an externally launched one.

Inputs: browser_id.

browser.connectB

Attach to a Chromium started elsewhere, via its CDP WebSocket endpoint. The daemon will never kill it.

Inputs: ws_endpoint (required), pid, profile.

browser.launchA

Launch a new Chromium with a persistent profile. Not usually needed: any tool auto-launches a browser when none is running. Needed for camera, microphone or screen capture: pass media (e.g. {camera:true, microphone:true, fake_devices:true, screen:true}) so getUserMedia/getDisplayMedia prompts and the screen picker are answered automatically. When url is given, the result reports what actually committed (landed.url, landed.title, landed.http_status) rather than echoing the request.

Inputs: url, media, profile, stealth, +6 more.

browser.listA
Read-only

List every browser the daemon owns or is attached to, with tab counts and control mode. Start here when unsure what exists. Closed browsers whose recordings are still queryable are counted as historical_available; pass include_historical:true to list them.

Inputs: limit, include_historical.

browser.list_targetsA
Read-only

Every attached target: pages, out-of-process iframes, dedicated/shared/service workers, extension contexts. Page tools accept any of these ids.

Inputs: type, browser_id.

browser.revealA

Put a headless session on screen for the human, in one call. Chromium fixes headless at process start, so this closes the browser and relaunches the same profile with a window, carrying the open tabs over. Cookies, localStorage and logins survive because they live in the profile; live page state (unsaved input, in-memory JS, agent DOM edits) does not, and the result says so. Returns a NEW browser_id.

Inputs: url, browser_id, window_size, control_mode.

browser.set_control_modeA

Arbitrate human and AI control. observe = read only; shared = both drive; agent = AI owns input; paused = AI frozen. Mutating tools refuse under observe and paused.

Inputs: mode (required), browser_id.

browser.statusA
Read-only

Full state of one browser: every page target with its committed URL, title, load state and HTTP status, plus version, how much has been recorded, active environment overrides and fault rules. The cheapest way to answer "what is actually on screen right now".

Inputs: browser_id.

cache.set_disabledA

Disable or re-enable the HTTP cache, to test whether a bug is a caching artifact.

Inputs: disabled (required), target_id, browser_id.

capture.bundleA
Read-only

Bundle a time slice of the recording into a single zip: network HAR with bodies, console NDJSON, runnable curls, navigations and a summary.md. The window is chosen after the bug, so "capture the last 10 minutes" works without arming anything first. Credentials are masked unless redact:false.

Inputs: note, since, until, redact, +3 more.

cdp.sendA

Escape hatch: send any raw Chrome DevTools Protocol command. Use when no typed tool covers the capability. Large results are stored as an artifact instead of being inlined.

Inputs: method (required), params, target_id, browser_id, +1 more.

console.clearA

Delete recorded console entries for a browser or one target.

Inputs: target_id, browser_id.

console.exceptionsC
Read-only

Uncaught exceptions only, with stack traces.

Inputs: limit, order, since, stack, +6 more.

console.exportB
Read-only

Write a time slice of the console to an NDJSON artifact. The answer to "50,000 log lines".

Inputs: level, since, until, search, +4 more.

console.queryB
Read-only

Console output and uncaught exceptions, recorded continuously and kept across navigations. Filter by level, text, regex and time window rather than dumping everything. Narrow the response with fields (e.g. ["level","text","at"]) and stack:"none" when you only need to see what was logged.

Inputs: level, limit, order, regex, +10 more.

cpu.resetB

Remove CPU throttling.

Inputs: target_id, browser_id.

cpu.throttleB

Slow the renderer down by a factor: 1 is normal, 4 is a mid-range phone, 6 is a slow one.

Inputs: rate (required), target_id, browser_id.

credentials.deleteC

Delete a saved credential.

Inputs: site (required).

credentials.listA
Read-only

Saved credentials as metadata only: site, origin, username, when saved and last used. Never includes passwords.

Inputs: no named parameters.

credentials.loginA

Sign in on the current page using a saved credential. The password goes straight from the vault into the field and is never exposed. Refuses if the page origin does not match the one the credential was saved for. Filling is not proof of login: confirm with page.expect.

Inputs: site (required), submit, target_id, browser_id, +3 more.

credentials.saveA

Save a login the agent can USE but never READ. The password is encrypted at rest and no tool ever returns it, so a prompt-injected agent cannot exfiltrate it. Bound to an exact origin. Intended for development and test accounts.

Inputs: site (required), origin (required), password (required), username (required), +4 more.

css.computedB
Read-only

Computed style of an element. Defaults to the properties that usually matter; pass all:true for everything.

Inputs: all, nth, ref, text, +7 more.

css.explain_visibilityA
Read-only

Answers "why can I not see this?" by checking the element and every ancestor for display, visibility, opacity, zero size, clipping and occluders, and naming the culprit.

Inputs: nth, ref, text, xpath, +5 more.

css.get_stylesheet_textC
Read-only

Source text of one stylesheet, stored as an artifact.

Inputs: style_sheet_id (required), save_path, target_id, browser_id.

css.list_stylesheetsC
Read-only

Stylesheets loaded by the document, with rule counts and cross-origin status.

Inputs: target_id, browser_id.

css.matched_rulesA
Read-only

The cascade as DevTools shows it: which rule in which stylesheet at which line set each property, strongest first, plus inherited rules.

Inputs: nth, ref, text, xpath, +6 more.

css.set_styleA

Set inline style properties on an element, as editing element.style in DevTools would.

Inputs: properties (required), nth, ref, text, +6 more.

debugger.call_framesB
Read-only

The call stack while paused: functions, locations, scope chain and this for each frame.

Inputs: target_id, browser_id.

debugger.disableA

Turn the debugger off and drop its breakpoints.

Inputs: target_id, browser_id.

debugger.enableA

Turn on the JavaScript debugger for a target and list the scripts it knows about.

Inputs: target_id, browser_id.

debugger.evaluate_on_frameB

Evaluate an expression in the scope of a paused call frame: this is how you read local variables.

Inputs: expression (required), target_id, browser_id, frame_index, +1 more.

debugger.inspect_objectB
Read-only

Expand a remote object or scope handle into its properties.

Inputs: object_id (required), target_id, browser_id, own_properties_only.

debugger.list_breakpointsC
Read-only

Breakpoints currently set.

Inputs: target_id, browser_id.

debugger.list_scriptsB
Read-only

Scripts the debugger has parsed, including inline and eval'd code, with script ids.

Inputs: target_id, browser_id, url_contains, include_anonymous.

debugger.pauseB

Pause JavaScript execution at the next statement.

Inputs: wait_ms, target_id, browser_id.

debugger.pause_on_exceptionsC

Pause on no exceptions, only uncaught ones, or all of them.

Inputs: state (required), target_id, browser_id.

debugger.remove_breakpointC

Remove one breakpoint.

Inputs: breakpoint_id (required), target_id, browser_id.

debugger.resumeC

Resume execution.

Inputs: target_id, browser_id.

debugger.set_breakpointB

Set a breakpoint by URL, URL regex or script id, with an optional condition expression.

Inputs: line (required), url, column, condition, +4 more.

debugger.stepB

Step into, over, or out of the current call while paused.

Inputs: kind (required), target_id, browser_id.

debugger.wait_for_pauseB
Read-only

Block until execution pauses (breakpoint hit or exception), then report where.

Inputs: target_id, browser_id, timeout_ms.

device.orientationA

Rotate the emulated screen between portrait and landscape. This is the screen, not the gyroscope: for the tilt angles a page reads from deviceorientation, use sensor.orientation.

Inputs: orientation (required), target_id, browser_id.

device.presetA

Emulate a device: desktop, desktop-hidpi, laptop, iphone (390), iphone-se (375, the modern SE), phone-small (320, the original SE and the width most layouts break at), pixel, tablet, ipad. Sets viewport, DPR, touch and user agent.

Inputs: preset (required), target_id, browser_id, orientation.

device.resetA

Drop device emulation and go back to the real window size.

Inputs: target_id, browser_id.

device.viewportB

Set an exact viewport, device pixel ratio, mobile flag and touch emulation.

Inputs: width (required), height (required), touch, mobile, +5 more.

devtools.openA

Open a real DevTools window for the human, at a chosen panel. Experimental; keep using the CDP-backed tools for machine work.

Inputs: panel, target_id, browser_id.

doc.crawlA

Point at a starting page and explore outward, saving each page as a searchable document. Follows links breadth-first to max_depth, staying inside scope (same-origin by default) and honouring include/exclude regexes. find rules match regex, text or CSS selectors on every page and are stored with the results, so this doubles as "search a whole site for X". Every page is scrolled before extraction. Pages already saved are reused rather than re-fetched unless refresh:true. Each saved page is stored as it is visited, so a run cut short (client timeout or cancel) keeps everything it reached - doc.crawls shows it; progress notifications are sent per page when the client asks.

Inputs: url (required), find, save, scope, +22 more.

doc.crawlsA
Read-only

Past crawl runs: what was explored, how far it got, what it saved and what it matched. Pass crawl_id for that run's documents and match hits.

Inputs: rule, site, limit, crawl_id.

doc.deleteA

Remove saved documents. By doc_id or url it deletes one; by site, collection or crawl_id it lists what would go and needs confirm:true to actually do it. The text artifacts are left on disk for artifact tooling to reclaim.

Inputs: url, site, doc_id, confirm, +2 more.

doc.getA
Read-only

One saved document: metadata, headings, recorded matches, and a line window of the text. Address it by doc_id or by url. The full text is an artifact, so artifact.search and artifact.read_lines work on it too.

Inputs: url, doc_id, end_line, start_line, +2 more.

doc.listB

What is in the library. Filter by site, collection, URL or title, sort by date, title, url, site, length or word count. group_by:"site" answers "which pages do I already have saved" in one row per site; group_by:"collection" does the same for collections. Reads the database only - no browser needed.

Inputs: site, sort, limit, order, +8 more.

doc.saveA

Capture a page as a saved document: scroll it until the lazy content has actually loaded, extract it as Markdown, store the full text as an artifact and index it for search. This is the tool for "read these docs" - save once, then answer from doc.search instead of re-fetching. Passing url navigates there first and returns immediately if that URL is already saved (refresh:true re-captures).

Inputs: url, find, label, format, +15 more.

doc.searchA
Read-only

Search every saved page at once. Default mode is ranked full-text with snippets showing the match in context; terms are quoted and ANDed for you, so punctuation in a query is safe. mode:"regex" streams the stored text instead, for patterns full-text search cannot express (version numbers, identifiers, anything with wildcards). Scope with site or collection.

Inputs: query (required), raw, mode, site, +6 more.

dom.exportA
Read-only

Dump the entire DOM tree, including shadow roots and iframe documents, to an artifact.

Inputs: save_path, target_id, browser_id, include_shadow_dom.

dom.get_htmlB
Read-only

Markup of one element or of the whole document. Always stored as an artifact; only a bounded window is returned inline.

Inputs: nth, ref, text, xpath, +8 more.

dom.inspectB
Read-only

Everything about one element: attributes, computed box, visibility, a stable selector path and its markup.

Inputs: nth, ref, text, xpath, +5 more.

dom.queryB
Read-only

Find elements by CSS selector, with text, attributes, box and visibility for each match.

Inputs: selector (required), limit, frame_id, target_id, +1 more.

dom.removeC

Remove an element from the document.

Inputs: nth, ref, text, xpath, +5 more.

dom.set_attributeC

Set or remove an attribute on an element.

Inputs: name (required), nth, ref, text, +8 more.

dom.set_htmlB

Replace an element and its subtree with new markup.

Inputs: html (required), nth, ref, text, +6 more.

dom.summaryA
Read-only

Structural outline of the document rather than its markup. Read this first; pull HTML only for the branch that matters.

Inputs: selector, max_depth, max_nodes, target_id, +1 more.

environment.color_schemeC

Force prefers-color-scheme to dark, light or no-preference.

Inputs: scheme (required), target_id, browser_id.

environment.localeB

Override the browser locale, e.g. "de-DE".

Inputs: locale (required), target_id, browser_id.

environment.media_featuresB

Set arbitrary emulated media features, merged with what is already overridden.

Inputs: features (required), media, target_id, browser_id.

environment.reduced_motionC

Toggle prefers-reduced-motion.

Inputs: reduced (required), target_id, browser_id.

environment.resetA

Put every environment override back to browser defaults. Clock and fault rules are cleared separately.

Inputs: target_id, browser_id.

environment.statusB
Read-only

Every override currently changing how the page behaves: device, network, CPU, clock, faults.

Inputs: target_id, browser_id.

environment.timezoneB

Override the browser timezone with an IANA id, e.g. "America/New_York". Good for DST and midnight-rollover bugs.

Inputs: timezone (required), target_id, browser_id.

environment.visionA

Simulate a vision deficiency: none, achromatopsia, blurredVision, deuteranopia, protanopia, tritanopia, reducedContrast. Screenshot afterwards to see the effect.

Inputs: deficiency (required), target_id, browser_id.

fault.abortC

Make matching requests fail. URL patterns use * wildcards, e.g. "/analytics/".

Inputs: url (required), count, target_id, browser_id, +2 more.

fault.clearA

Remove every fault rule and take request interception back down.

Inputs: target_id, browser_id.

fault.delayC

Stall matching requests. Answers "what does the UI do if Save takes 20 seconds?".

Inputs: url (required), delay (required), count, target_id, +2 more.

fault.drop_nextB

Drop the next N matching requests, as a connection loss would.

Inputs: url (required), count, target_id, browser_id.

fault.listA
Read-only

Active fault rules, how many times each has fired, and the URLs they actually matched. A rule showing times_applied:0 is the usual reason "the app ignored my outage" - the glob never fired.

Inputs: browser_id.

fault.modify_headersC

Rewrite request headers on matching requests.

Inputs: url (required), headers (required), count, target_id, +1 more.

fault.removeC

Remove one fault rule.

Inputs: fault_id (required), browser_id.

fault.replace_responseC

Return a synthetic response for matching requests, e.g. a 500 with an error body.

Inputs: url (required), body, count, status, +3 more.

fault.testA
Read-only

Dry-run a URL glob against the traffic already recorded, without creating a rule. Returns sample matches and non-matches, and warns when the pattern would also take out the document of the page you are driving. Use before fault.abort when the pattern is not obviously right.

Inputs: url (required), limit, target_id, browser_id, +1 more.

file.writeA

Write a file on the daemon host in one call, instead of echoing content through a shell in chunks. Source is exactly one of content (text, or base64 with encoding), json (pretty-printed), artifact_id, or batch_id (a page.visit_batch run's results, partial if still running). The file name is sanitized for every OS (illegal characters, reserved names like CON, trailing dots, length); the directory must be absolute and is created. on_conflict: "rename" (default, writes "name (2).ext"), "error", or "overwrite" (atomic replace).

Inputs: dir, json, path, content, +5 more.

guide.listA
Read-only

The index: every tool family with its size, how many of its tools mutate, and its family-wide notes, plus every documentation topic. Pass family to list that family's tools instead.

Inputs: kind, family.

guide.orientA
Read-only

START HERE if you have not used this server before. One call: what browserd is, every tool family and what each is for, which tool to reach for in the situations that come up most, and the techniques sessions habitually skip (reading component state off the React fiber, patching the running page to confirm a fix before editing a file). Cheaper than discovering the surface by trial.

Inputs: verbose.

guide.searchA
Read-only

Search browserd's own documentation when you know the problem but not the tool. Ranks over tool names, summaries, argument descriptions, hand-written notes and long-form topics. Filter by family or by whether a tool mutates the page, sort by relevance, name or family, and pass full:true to expand every hit into its complete write-up.

Inputs: query (required), full, kind, sort, +3 more.

guide.toolA
Read-only

The long guide to one tool: what it is for, how it works underneath, every argument with its type and meaning read from the live registration, the caveats that cost a session, worked examples and related tools. Accurate by construction, because the arguments come from the same schema the server validates against.

Inputs: name (required).

guide.topicA
Read-only

Long-form background on the system rather than on one tool: start, architecture (how it works under the hood), install (where this daemon lives and how to update it, with live paths), recording, artifacts, control, traps, repeat.

Inputs: name (required).

inspector.accessibility_treeC
Read-only

Full accessibility tree, as a screen reader would traverse it.

Inputs: max_nodes, save_path, target_id, browser_id.

inspector.childrenC
Read-only

Direct children of an element with sizes and text.

Inputs: nth, ref, text, limit, +6 more.

inspector.elementB
Read-only

DevTools Elements panel for one node: box model, key computed styles, event listeners and accessibility role/name.

Inputs: nth, ref, text, xpath, +7 more.

inspector.parentsB
Read-only

Ancestor chain of an element with the layout properties that create stacking and clipping.

Inputs: nth, ref, text, xpath, +5 more.

inspector.pickA

Arm the DevTools element picker so the human can click the element they mean. Then read the result with inspector.picked.

Inputs: mode, target_id, browser_id, timeout_ms.

inspector.pickedA
Read-only

The element the human last picked, as a backend_node_id usable by every element-taking tool.

Inputs: target_id, browser_id.

inspector.snapshotB
Read-only

DOMSnapshot: structure, layout and selected computed styles in one pass, flattened across shadow roots and iframes. Written to an artifact.

Inputs: save_path, target_id, browser_id, computed_styles.

js.evaluateA

Run an expression exactly as typing it into the DevTools console would, command-line helpers ($, $$, $x) included. Awaits promises by default.

Inputs: file, frame_id, max_chars, target_id, +7 more.

js.get_sourceC
Read-only

Source of one script or resource. Returns a line window inline and the whole file as an artifact.

Inputs: url, line_end, save_path, script_id, +3 more.

js.list_scriptsC
Read-only

Scripts, documents and stylesheets loaded by the page, plus eval'd scripts when the debugger is enabled.

Inputs: types, target_id, browser_id, url_contains.

js.search_sourceB
Read-only

Grep every loaded script in the browser and return file:line hits with excerpts. Use this instead of pulling bundles into context.

Inputs: query (required), types, is_regex, max_files, +6 more.

location.setB

Override geolocation by coordinates or preset (mumbai, new-york, london, tokyo, sydney, san-francisco), or make it unavailable.

Inputs: preset, accuracy, latitude, longitude, +3 more.

locator.candidatesA
Read-only

Given any element (ref, selector, xpath, text), the locators a durable test could use for it - role plus accessible name, label, text, test id - each with how many elements it actually matches right now. When a locator is ambiguous it computes the landmark scope that makes it unique, which is the honest alternative to .first(). Use this before writing a Playwright test or a scenario, not after it fails.

Inputs: nth, ref, text, xpath, +6 more.

locator.checkA
Read-only

Resolve a semantic locator against the live page and report how many elements it hits. A locator matching zero or several is far cheaper to find here than after compiling the test, running it three times and reading a strict-mode failure.

Inputs: target (required), target_id, browser_id, test_id_attribute.

memory.gcA

Force a garbage collection, so a following snapshot only shows genuinely retained objects.

Inputs: target_id, browser_id.

memory.heap.compareA
Read-only

Diff two heap snapshots by constructor: what grew, what shrank, and how many detached DOM nodes accumulated. This is how leaks get found.

Inputs: after_artifact_id (required), before_artifact_id (required), top.

memory.heap.snapshotB

Take a heap snapshot, streamed straight to an artifact. Label it so you can diff two of them later.

Inputs: label, save_path, target_id, browser_id, +1 more.

memory.usageC
Read-only

Current JS heap usage and DOM counters.

Inputs: target_id, browser_id.

network.clearB

Delete recorded requests for a browser.

Inputs: browser_id.

network.export_harC
Read-only

Export the matching requests as a HAR artifact, optionally with bodies embedded.

Inputs: since, until, save_path, target_id, +4 more.

network.get_bodyB
Read-only

Request payload or response body for one request. Returns a bounded window plus an artifact handle, so a huge response never floods the context. as_json parses it for you.

Inputs: request_id (required), which, offset, as_json, +2 more.

network.get_requestA
Read-only

Everything about one request: all request and response headers (including the ones actually put on the wire), initiator, timing, redirect chain and body availability.

Inputs: request_id (required), include_redirect_chain.

network.list_requestsA
Read-only

Recorded HTTP requests with status, type, size and timing. Recording runs continuously, so this covers traffic from before the AI was asked anything. Filter hard; fetch bodies separately.

Inputs: limit, order, since, state, +16 more.

network.list_websocketsB
Read-only

Recorded WebSocket connections, with handshake details and frame counts. Server-sent event streams appear here too.

Inputs: limit, open_only, target_id, browser_id, +1 more.

network.probeA
Read-only

Issue a request from inside the page and report what the page sees. Unlike curl this respects CORS, service workers, proxies and the page origin, so it faithfully answers "can this app reach its API".

Inputs: url (required), method, headers, target_id, +2 more.

network.search_bodiesB
Read-only

Search inside recorded request and response bodies. Answers "which response contained this token" without downloading every payload.

Inputs: query (required), since, until, which, +7 more.

network.simulateB

Damage the network on purpose. Presets: slow-3g, fast-3g, 4g, bad-wifi, offline, none. Or set latency, download and upload directly.

Inputs: preset, upload, latency, offline, +3 more.

network.simulate_resetC

Restore normal network conditions.

Inputs: target_id, browser_id.

network.summarizeA
Read-only

Aggregate view: what is slow, what failed, what is heaviest, grouped by domain, resource type or status. Start here for "what is wrong with this page".

Inputs: sort, since, until, group_by, +7 more.

network.ws_messagesB
Read-only

Frames on one WebSocket, filterable by direction and payload text.

Inputs: websocket_id (required), limit, order, offset, +2 more.

page.activate_tabC

Bring a tab to the front, as clicking its tab strip entry would.

Inputs: target_id, browser_id.

page.audit_layoutA

Measure a page at several viewport widths and report what is actually broken: horizontal overflow (outermost offender only), touch targets under the minimum size, and clipped text. Answers responsive questions that a screenshot leaves to guesswork. Viewport emulation is always cleared afterwards.

Inputs: urls, height, widths, target_id, +3 more.

page.batch_statusA

Results so far of a page.visit_batch run, finished or not. wait_ms waits for more progress first; cancel:true stops the run and keeps everything already visited. Omit batch_id to list recent runs.

Inputs: limit, cancel, offset, wait_ms, +2 more.

page.clickA

Click an element, scrolling it into view first. By default watches for a DOM reaction and reports observed_change, so "the input was dispatched" is not mistaken for "the app handled it".

Inputs: x, y, nth, ref, +13 more.

page.close_tabC

Close a tab.

Inputs: target_id, browser_id.

page.dragA

Press, travel and release like a hand: drag-and-drop, slide a slider or "slide to unlock", reorder a list, pan a map, draw a stroke, or swipe (direction + distance, with touch input on a phone). The pointer approaches the source, presses, holds briefly, moves along a curved slow-fast-slow path with slight wobble, pauses, then releases. Native HTML5 draggable elements are detected and finished with real dragenter/dragover/drop. release:false leaves the press down for page.pointer or another page.drag.

Inputs: x, y, nth, ref, +33 more.

page.expectB
Read-only

Assert the state of one element and get pass/fail plus what was actually observed. Replaces the evaluate-then-eyeball-the-JSON loop. Give timeout_ms to retry until it holds instead of failing on a race.

Inputs: nth, ref, text, value, +14 more.

page.extract_textB
Read-only

Readable text of the page, or of one element when given a locator. Pass selector/ref to read a single panel instead of the whole page.

Inputs: nth, ref, text, xpath, +8 more.

page.filmstripA
Read-only

SEE MOTION. Records the page briefly and returns the frames tiled into ONE labelled contact sheet, so entrance animations, hovers, reveals and scroll effects can actually be judged. A screenshot is a single instant and repeated screenshots are unrelated instants; this samples evenly across a real recording. Drive the motion with reload, hover or scroll_by so there is something to film.

Inputs: hover, label, frames, reload, +9 more.

page.go_backC

Go back in session history.

Inputs: target_id, browser_id.

page.go_forwardC

Go forward in session history.

Inputs: target_id, browser_id.

page.handle_dialogB

Accept or dismiss an open JavaScript dialog.

Inputs: accept (required), target_id, browser_id, prompt_text.

page.highlightA

Draw the DevTools highlight over an element so a human can see what the AI is looking at. Follow with page.screenshot to verify the right element was found.

Inputs: nth, ref, text, xpath, +7 more.

page.historyB
Read-only

Recorded navigation history for this browser, including same-document navigations.

Inputs: limit, target_id, browser_id.

page.hoverB

Move the mouse over an element, triggering hover styles and menus.

Inputs: nth, ref, text, xpath, +5 more.

page.list_dialogsB
Read-only

JavaScript dialogs (alert/confirm/prompt/beforeunload) currently blocking the page.

Inputs: target_id, browser_id.

page.list_framesA
Read-only

Frame tree with origins and execution-context ids, so JS can be run inside a specific iframe.

Inputs: target_id, browser_id.

page.list_tabsA
Read-only

List open tabs with their URLs, titles and target ids.

Inputs: browser_id.

page.long_pressA

Press and hold on an element or point: long-press menus, "press and hold" buttons, hold-to-confirm, hold-to-record. Holds for duration_ms, or until until_selector/until_text appears (or disappears with until_gone) and then lets go. Mouse holds creep by a pixel now and then as a resting hand does. release:false keeps holding so page.drag or page.pointer can continue.

Inputs: x, y, nth, ref, +20 more.

page.navigateB

Navigate to a URL and wait for the load state. Reports the committed URL, the document title and its HTTP status, so a dev server serving a different project on the expected port is visible immediately.

Inputs: url (required), target_id, browser_id, timeout_ms, +1 more.

page.new_tabC

Open a new tab, optionally at a URL.

Inputs: url, activate, browser_id.

page.observeA
Read-only

Sample expressions on an interval and return the timeline plus the transitions between values. Use to measure how long a UI sat locked or when a step actually appeared, instead of hand-rolling a polling loop in js.evaluate.

Inputs: for_ms, sample, every_ms, selector, +3 more.

page.pinchA

Two-finger touch gesture: pinch to zoom (scale over 1 spreads the fingers, under 1 pinches them together) and/or twist (rotate_deg). For maps, image viewers, canvases and anything reading multi-touch. Turn on touch emulation first (device.preset) so the page treats it as a touch device.

Inputs: x, y, nth, ref, +19 more.

page.pointerA

Raw pointer script for anything the other tools do not cover: draw a shape, hover-then-press, drag with a wheel scroll in the middle, a press in one call and the release in a later one. actions run in order; each move travels the human path from wherever the pointer is. The held button and position persist per tab between calls. Example: [{action:"move",selector:"canvas"},{action:"down"},{action:"move",x:300,y:200},{action:"move",x:350,y:260},{action:"up"}].

Inputs: actions (required), seed, html5, human, +7 more.

page.pressB

Press a key or chord, e.g. "Enter", "Escape", "Control+Shift+K".

Inputs: key (required), nth, ref, text, +6 more.

page.reloadA

Reload the page, optionally bypassing the cache. Note: this fires pagehide/beforeunload, so an app that persists state in those handlers will not come back in the same state - page.navigate to the same URL skips them, which matters for repeatable test loops.

Inputs: target_id, browser_id, wait_until, ignore_cache.

page.reset_targetA

Unstick one tab without closing Chromium. Use when a tab stops answering (evaluate or navigate hangs until timeout). Fails the tab's in-flight commands, terminates its running script, stops loading and parks it on about:blank (or url). mode "auto" (default) escalates to replacing the tab with a fresh one if the renderer still does not answer; the result then carries a NEW target_id.

Inputs: url, mode, target_id, browser_id.

page.screenshotA
Read-only

See the rendered page. Returns the image for visual inspection plus a stored artifact. mode: viewport, full_page, element (with a locator), or sheet: the whole page cut into side-by-side columns that fit one screen, so a long page stays readable. Prefer sheet for reviewing a whole page; add width:320 for a phone or width:1280 for a desktop without touching the viewport.

Inputs: nth, ref, mode, text, +21 more.

page.scrollB

Scroll the page or a specific scrollable element. If wheel dispatch stalls on a busy compositor it falls back to a programmatic scroll and says so via via.

Inputs: to, nth, ref, text, +8 more.

page.select_optionC

Choose one or more options in a .

Inputs: nth, ref, text, xpath, +7 more.

page.set_viewportC

Resize the emulated viewport. See device.preset for realistic device profiles.

Inputs: reset, width, height, mobile, +3 more.

page.snapshotA
Read-only

Accessibility-tree snapshot of the interactive elements, each with a stable ref (eNN) usable by page.click and friends. Cheaper and more reliable than screenshots for deciding what to click. format:"aria" instead emits Playwright's aria-snapshot dialect for a toMatchAriaSnapshot assertion - refless, and it leaves existing refs alone.

Inputs: format, max_nodes, target_id, browser_id, +2 more.

page.typeA

Type text into an element, with real key events so the page sees each keystroke. Newlines become Enter in textareas and contenteditables; on a single-line input they are reported as dropped rather than silently flattened. Reads the field back so landed_characters is measured, not assumed.

Inputs: text (required), nth, ref, clear, +9 more.

page.unhighlightB

Clear any highlight overlay.

Inputs: target_id, browser_id.

page.upload_filesC

Set files on a file input.

Inputs: files (required), nth, ref, text, +6 more.

page.visit_batchA

Visit many URLs and extract from each, with a separate status per page (ok / error / timeout) so one bad page never stalls the rest. Runs in background tabs (concurrency, default 2) with a hard per-page deadline; a page that misses it has its tab reset and the batch moves on. The run lives in the daemon: this call waits up to wait_ms, returns every finished page, and the rest keeps going - poll page.batch_status, so a client timeout never loses results. Sends MCP progress notifications per page when the client asks for them. extract: "text" (innerText, default), "visible_text", "markdown" (doc capture; save:true also stores each as a document), or "none"; expression runs your own JS per page and returns its value.

Inputs: urls (required), save, label, extract, +11 more.

page.wait_forA
Read-only

Wait until an element appears or disappears, or until text shows up. Use any_of to race several outcomes (success UI vs error UI) instead of guessing one and eating a full timeout; all_of waits for every condition. On timeout the error reports which conditions were unmet and the closest thing on the page.

Inputs: gone, text, all_of, any_of, +6 more.

performance.metricsC
Read-only

Runtime performance counters: heap, nodes, listeners, layout and script durations.

Inputs: target_id, browser_id.

performance.processesA
Read-only

Chromium processes with types, PIDs and cumulative CPU time. Useful when something hangs.

Inputs: browser_id.

permissions.grantA

Grant browser permissions, e.g. ["geolocation", "notifications", "camera", "microphone"], optionally scoped to one origin. Web names are mapped to CDP types (camera -> videoCapture, microphone -> audioCapture); CDP names pass through. Granting camera/microphone lets getUserMedia resolve with no prompt, but supplies no device; the getDisplayMedia screen picker cannot be granted away at all. For both, launch with browser.launch{media}.

Inputs: permissions (required), origin, browser_id.

permissions.resetB

Reset all permission overrides.

Inputs: browser_id.

profiler.coverage.startC

Start precise JavaScript coverage recording.

Inputs: detailed, target_id, browser_id.

profiler.coverage.stopB

Stop coverage and report unused bytes per script.

Inputs: save_path, target_id, browser_id.

profiler.cpu.analyzeB
Read-only

Re-analyze a stored .cpuprofile artifact, with a different depth if wanted.

Inputs: artifact_id (required), top.

profiler.cpu.startC

Start the sampling CPU profiler on a target.

Inputs: target_id, browser_id, sampling_interval_us.

profiler.cpu.stopB

Stop the CPU profiler and return self-time per function, with the full .cpuprofile as an artifact.

Inputs: top, save_path, target_id, browser_id.

profiler.trace.long_tasksB
Read-only

Pull the long main-thread tasks out of a recorded trace. Answers "what hung the page" without the trace ever entering the context.

Inputs: artifact_id (required), limit, min_duration_ms.

profiler.trace.startA

Start a Chromium trace. Presets: web-performance, minimal, javascript, rendering. Keep traces short.

Inputs: preset, browser_id, categories.

profiler.trace.stopA

Stop tracing and stream the result to an artifact, without loading it into memory.

Inputs: save_path, browser_id.

profile.startA

Preset-driven profiling. One call arms every recorder that matters: cpu, slow-page, hang, memory-leak, full. Reproduce the problem, then call profile.stop.

Inputs: preset, target_id, browser_id.

profile.statusC
Read-only

What is currently recording.

Inputs: browser_id.

profile.stopB

End the profile session and return one summary: top functions, longest tasks, heap growth, network failures and console errors, plus artifacts for each.

Inputs: save_path, browser_id.

qa.evidenceA
Read-only

What browserd observed during a window, shaped as things a scenario could assert: first-party XHR/fetch calls as requestSeen candidates, the navigation path, console errors, exceptions and HTTP failures. Because recording is always on, the window is chosen after the flow, once you know the question. Every candidate carries a null oracle: it says what happened, never what should have happened.

Inputs: since, until, origin, target_id, +1 more.

qa.record_startB

Start recording the flow you are about to drive, as steps a test harness can compile. Every mutating page action is captured with its semantic locator resolved before the action runs, which is the only moment that answer is reliable. Network and console were already being recorded and are unaffected.

Inputs: flow (required), target_id, browser_id.

qa.record_statusA
Read-only

Whether a recording is active, and how much it has captured.

Inputs: no named parameters.

qa.record_stopA

Stop recording. The steps survive, so qa.steps and qa.scenario_draft still work afterwards.

Inputs: no named parameters.

qa.scenario_draftB
Read-only

The recorded flow as a draft scenario. It is deliberately not compilable: assertions are empty and requirementSource is null, because those are the two things an agent must not invent. Candidate assertions are listed separately for a human or an agent to promote against a real requirement.

Inputs: id (required), name (required), role, viewport, +4 more.

qa.session_eventsB
Read-only

The recording as an exploration event log a QA harness can ingest (Auto-QA: feed each to qa_record_event). Returned rather than written, so the harness keeps control of its own evidence directory.

Inputs: since, until, target_id, browser_id.

qa.stepsB
Read-only

The recorded flow as scenario steps, each with its semantic target and, where one exists, the reason it cannot be compiled as recorded. A step whose locator matches several elements is reported rather than quietly narrowed.

Inputs: include_problems.

recording.resetA

Clear recorded console and network in one call, starting a fresh window. Use before a repro instead of hand-filtering with since:. Defaults to both; name one to clear only that.

Inputs: console, network, browser_id.

scenario.applyA

Apply a bundle of conditions at once: slow-mobile, terrible-network, offline, cold-load, low-end-desktop. Beats setting fifteen switches by hand.

Inputs: scenario (required), target_id, browser_id.

scenario.listC
Read-only

Available scenarios, device presets, network presets and vision deficiencies.

Inputs: no named parameters.

sensor.motionA

Feed devicemotion: acceleration (m/s^2, gravity removed), acceleration_including_gravity (m/s^2) and rotation_rate (rad/s), each as {x,y,z}. For shake detection, step counters and anything reading the accelerometer or gyroscope rate.

Inputs: target_id, browser_id, acceleration, rotation_rate, +1 more.

sensor.orientationA

Set how the device is held, so deviceorientation fires on a desktop: alpha (compass turn), beta (front-back tilt) and gamma (left-right tilt) in degrees, or a named pose (flat-face-up, portrait-upright, landscape-left, landscape-right). Angles given alongside a pose override it. For VR, aim the head instead: yaw/pitch/roll turn the head from the pose (default landscape-left, a phone in a headset), e.g. pitch:-30 to look down at a menu. This is the gyroscope a VR viewer, compass or tilt control reads.

Inputs: yaw, beta, pose, roll, +6 more.

sensor.pathA

Play a head movement in real time, interpolated smoothly at up to 120 Hz, and return when it finishes: a preset (look-around, nod, spin, hold) relative to a base pose, or keyframes (head yaw/pitch/roll from the pose, or absolute angles). The only way to test smoothing, recentring and gaze-dwell logic, which a single static reading cannot exercise. For a realistic phone add jitter_deg / drift_deg_per_min (Chrome drops deviceorientation changes under 0.1 deg, so a perfectly still virtual phone looks dead) and motion:true to stream matching devicemotion. At most 60 seconds.

Inputs: hz, pose, seed, motion, +9 more.

sensor.resetB

Stop overriding one sensor type, or all of them, and return the page to the real sensors.

Inputs: type, target_id, browser_id.

sensor.setA

Set one raw sensor reading: accelerometer, linear-acceleration, gravity, gyroscope or magnetometer take x/y/z; absolute-orientation and relative-orientation take a quaternion x/y/z/w; ambient-light takes value in lux. available:false makes the page see the sensor as missing, which is how to test the "no gyroscope" fallback.

Inputs: type (required), w, x, y, +5 more.

sensor.statusA
Read-only

Which sensors are overridden on this page, plus the available sensor types, poses and path presets, and what cannot be emulated (proximity; the camera is a browser.launch option).

Inputs: target_id, browser_id.

service_worker.bypassC

Bypass service workers so requests go to the network.

Inputs: bypass (required), target_id, browser_id.

skeleton.captureA

Measure the real UI at several widths and save a skeleton (bones) file: the exact boxes a loading placeholder should draw. Elements carrying the marker attribute (default data-skeleton) are used when present; otherwise the layout under selector is decomposed automatically - wrapped text into one bone per visual line, media and controls into their own boxes, and any container that paints a background or a rounded border into a lighter surface bone drawn underneath its children. Circles, pills and asymmetric corners are preserved as such. Bones are matched across widths by DOM position, so an element that only exists on desktop is recorded as absent on mobile rather than shifting the rest. Viewport emulation is always cleared afterwards.

Inputs: name (required), url, height, marker, +18 more.

skeleton.deleteC

Delete a captured skeleton.

Inputs: name (required).

skeleton.emitA
Read-only

Turn a captured skeleton into ready-to-paste source: html, css, react, vue, svelte, or the raw json. Output is mobile-first CSS - the narrowest captured width is the base rule and wider ones are min-width overrides - with horizontal geometry in percentages so it stretches between breakpoints. Honours prefers-reduced-motion.

Inputs: name (required), color, format, animation, +6 more.

skeleton.listB
Read-only

Captured skeletons, with their widths and bone counts.

Inputs: no named parameters.

skeleton.previewA

Draw a captured skeleton over the live page, anchored to the element it was measured from, so you can screenshot it and see whether the placeholder actually matches. The overlay lives in a shadow root outside the app tree, so page CSS cannot restyle it and it cannot restyle the page. Call with remove:true to take it down.

Inputs: name (required), color, remove, selector, +6 more.

skeleton.showC
Read-only

The bones of one skeleton. Pass width to get flat rectangles for the nearest captured width instead of the per-width map.

Inputs: name (required), limit, width.

storage.clearB

Clear all of localStorage or sessionStorage for the origin.

Inputs: kind, target_id, browser_id.

storage.clear_cookiesB

Delete every cookie in the browser.

Inputs: browser_id.

storage.clear_originC

Wipe selected storage types for the page origin.

Inputs: types, target_id, browser_id.

storage.delete_cookiesB

Delete cookies by name, optionally scoped to a domain, path or URL.

Inputs: name (required), url, path, domain, +1 more.

storage.exportA
Read-only

Dump localStorage, sessionStorage and cookies to a JSON artifact. format:"playwright" instead emits a real Playwright storageState file, which is what a test loads to start authenticated without replaying the login form.

Inputs: format, save_path, target_id, browser_id.

storage.getA
Read-only

Read storage keys in full, optionally parsed as JSON. Pass keys to read several in one round trip.

Inputs: key, keys, kind, as_json, +2 more.

storage.importA

Restore storage and cookies, the counterpart to storage.export. Pass a whole export payload as state to put a logged-in session back without replaying the login form, or items/cookies to set state piecemeal.

Inputs: kind, items, state, cookies, +3 more.

storage.indexeddb.clearC

Empty an IndexedDB object store.

Inputs: database (required), object_store (required), target_id, browser_id.

storage.indexeddb.databasesC
Read-only

IndexedDB database names for the page origin.

Inputs: target_id, browser_id.

storage.indexeddb.delete_databaseC

Delete an entire IndexedDB database.

Inputs: database (required), target_id, browser_id.

storage.indexeddb.describeC
Read-only

Object stores, key paths and indexes of one IndexedDB database.

Inputs: database (required), target_id, browser_id.

storage.indexeddb.putC

Write a record into an IndexedDB object store (executed through the page's own IndexedDB API).

Inputs: database (required), object_store (required), key, value, +2 more.

storage.indexeddb.queryC
Read-only

Page through records in an IndexedDB object store.

Inputs: database (required), object_store (required), skip, index, +3 more.

storage.listC
Read-only

List localStorage or sessionStorage entries for the page origin.

Inputs: kind, target_id, browser_id, max_value_chars.

storage.list_cache_entriesC
Read-only

Entries inside one Cache Storage bucket.

Inputs: cache_id (required), skip, limit, target_id, +2 more.

storage.list_cachesC
Read-only

Cache Storage buckets for the origin.

Inputs: target_id, browser_id.

storage.list_cookiesB
Read-only

All browser cookies, filterable by domain or name.

Inputs: name, browser_id, domain_contains.

storage.removeB

Delete storage keys. Pass keys to clear several in one call.

Inputs: key, keys, kind, target_id, +1 more.

storage.setC

Write a localStorage or sessionStorage value.

Inputs: key (required), value (required), kind, target_id, +1 more.

storage.snapshotA
Read-only

Local and session storage inline, optionally narrowed to a key prefix. Use for app-scoped state (feature flags, tour progress); pair with storage.import to restore it.

Inputs: kind, prefix, target_id, browser_id, +1 more.

storage.usageB
Read-only

Storage usage and quota for the origin, broken down by storage type.

Inputs: target_id, browser_id.

time.clear_fixed_dateC

Stop pinning Date.

Inputs: target_id, browser_id.

time.freezeA

Pin the clock at an instant and stop timer progression until time.run, time.jump or time.resume.

Inputs: at, target_id, browser_id.

time.installA

Install a controlled clock over Date, setTimeout, setInterval, requestAnimationFrame and performance.now, optionally starting at a given time. Survives navigation.

Inputs: time, target_id, browser_id.

time.jumpA

Leap forward, firing each due timer at most once: the "closed the laptop for three hours" case. Different bug class from time.run.

Inputs: duration (required), target_id, browser_id.

time.resumeC

Let the controlled clock run in real time again.

Inputs: target_id, browser_id.

time.runA

Advance the clock and fire every timer that comes due, in order. Use this to exercise intervals and timeouts without waiting: time.run("30m") on a 60s interval fires it 30 times.

Inputs: duration (required), target_id, browser_id.

time.set_fixed_dateA

Make Date.now() and new Date() always return one instant, while timers, animations and polling keep running normally.

Inputs: time (required), target_id, browser_id.

time.set_wall_clockC

Move perceived wall time to an instant without firing the timers in between.

Inputs: time (required), target_id, browser_id.

time.statusB
Read-only

Whether a controlled clock is installed, how far it is skewed from real time, and how many timers are pending.

Inputs: target_id, browser_id.

time.uninstallA

Remove the controlled clock and restore the real timer functions.

Inputs: target_id, browser_id.

time.virtualC

Chromium native virtual time, which also governs loading and rendering. Stronger but experimental; cannot be combined with the controlled clock.

Inputs: policy, budget_ms, target_id, browser_id, +1 more.

user_state.setB

Emulate an idle user or a locked screen, for apps that change behaviour when nobody is there.

Inputs: reset, target_id, browser_id, user_active, +1 more.

workflow.deleteC

Delete a saved workflow.

Inputs: name (required).

workflow.listB
Read-only

Saved workflows, with their step counts and variables.

Inputs: no named parameters.

workflow.runA

Replay a saved workflow, substituting variables. Each step is checked against what browserd observed (landed_characters, observed_change), so a run that did nothing is reported as a failure rather than success. Unsupplied vars fall back to WORKFLOW_VAR_ in the environment, which keeps credentials out of the saved file.

Inputs: name (required), vars, dry_run, continue_on_error.

workflow.saveA

Save a named, parameterised sequence of tool calls for replay. Use {{var}} anywhere in a step argument. Snapshot refs are refused: they are only valid for the snapshot that produced them, so save a selector, xpath or text locator instead.

Inputs: name (required), steps (required), vars, description.

workflow.showC
Read-only

The full saved definition of one workflow.

Inputs: name (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.1/5.0

    Scored across 239 tools

    Disambiguation4/5

    Despite 239 tools, the dotted family namespacing (page.*, dom.*, css.*, network.*, debugger.*, profiler.*, storage.*, fault.*, time.*) makes almost every tool's purpose distinct, and descriptions explicitly disambiguate near-neighbours (page.click vs app.diagnose_interaction, page.screenshot vs page.filmstrip, time.run vs time.jump). A few genuine overlaps remain: profile.start/stop vs profiler.cpu.start/stop, js.list_scripts vs debugger.list_scripts, storage.list vs storage.snapshot, and page.extract_text vs doc.save, where an agent must read carefully to pick correctly.

    Naming Consistency5/5

    The convention is uniform throughout: family.subfamily.verb_noun in lowercase snake_case (network.get_body, storage.indexeddb.query, profiler.trace.long_tasks, fault.replace_response). Verb-only gestures inside page.* (click, hover, drag, pinch) are a coherent sub-pattern rather than a break, and no camelCase or mixed-style names appear anywhere in the surface.

    Tool Count1/5

    239 tools is far past any usable surface for an agent, roughly an order of magnitude beyond the 3-15 sweet spot and well past the 50-tool threshold for an extreme mismatch. Even granting that browser automation, debugging, profiling, fault injection, QA recording and doc crawling are genuinely broad domains, the set forces the agent to navigate a catalogue rather than choose a tool.

    Completeness5/5

    Coverage is exhaustive across every inferred sub-domain: full CRUD for storage, cookies, IndexedDB, caches, documents, workflows, credentials, artifacts and skeletons; complete debugger and profiler lifecycles; and lifecycle tools for browsers, tabs and targets. Even recovery paths (page.reset_target, browser.reveal, environment.reset, fault.test) and self-documentation (guide.*) are present, leaving no obvious dead ends.

    Maintenance

    ActivityActive
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      C
      maintenance
      Observation-first MCP server for Cockroach Browser, enabling AI agents to snapshot, audit, and propose browser actions through a secure, policy-controlled daemon.
      184 npm
      9
      AGPL 3.0
    • A
      license
      B
      quality
      C
      maintenance
      A CDP-native MCP server that lets AI agents drive a real Chrome browser with deep network/console inspection, robust page interaction, and the ability to reverse-engineer a site's API flow into runnable code with dependency chaining and replay verification.
      52
      22 npm
      3
      MIT
    • F
      license
      A
      quality
      B
      maintenance
      An MCP server that enables remote observation and control of a Chromium browser via a WebSocket relay, supporting DOM, CDP, and native OS automation for local or LAN-based AI agents.
      8
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables AI agents and clients to control a real Chromium browser through MCP tool calls, including navigation, clicking, typing, JavaScript evaluation, screenshots, and DOM snapshots. Supports multiple isolated sessions over authenticated HTTP with no disk writes.
      Apache 2.0