読書リサーチレーダー投資フレームワーク
ログイン / 新規登録
← 読解に戻る
ニューストピック · Browser Use重大2 分で読めるDisconfirmAI 編集部

Browser Use Co-founder Gregor Zunic Details Six Ways to Let Coding Agents Use Logged-In Chrome

Browser Use co-founder Gregor Zunic published a practical guide detailing six configuration methods for coding agents like Claude Code, Codex, Gemini CLI, and Cursor to use logged-in Chrome sessions, explaining why direct cookie copying fails.

検証済み 2026-10-26 14:42 GMT+8

Coding agents often need to access logged-in web applications during development—for example, to test an admin interface that requires authentication. If an agent can only launch a fresh, unauthenticated browser instance, it cannot complete such tasks.

Gregor Zunic, co-founder of Browser Use, published a practical guide on October 25, 2026, systematically organizing six solutions for mainstream coding agents including Claude Code, Codex, Gemini CLI, and Cursor to reuse logged-in Chrome sessions. The article provides configuration steps for each agent and explains why the intuitive approach of directly copying browser cookies does not work.

Zunic points out that copying cookies into a fresh browser fails because the new browser is treated as a different device. With the adoption of Device Bound Session Credentials, Chrome stores private keys in secure hardware like TPMs; when short-lived session cookies expire, they can only be refreshed by proving possession of that key. Copied cookies on another machine cannot be renewed. Additionally, starting from Chrome 136, --remote-debugging-port and --remote-debugging-pipe are ignored on the default data directory; Google made this change because attackers were using remote debugging to steal cookies.

For Claude Code users, if subscribed to a Pro, Max, Team, or Enterprise plan, the shortest path is using Anthropic's Claude in Chrome extension via the claude --chrome command. If using an API key or another provider, one must switch to Browser Harness, Playwright MCP's extension mode, or Chrome DevTools MCP.

For Codex, OpenAI's browser extension can be used within the ChatGPT desktop app; in Codex CLI, Browser Harness or one of the two MCP servers is recommended. Gemini CLI ships with a built-in browser subagent that attaches to running Chrome by setting sessionMode to "existing" in settings.json. Cursor's built-in browser keeps its own workspace cookies; to use Chrome logins, one must add Browser Harness, Playwright MCP, or Chrome DevTools MCP to .cursor/mcp.json.

ログイン / 新規登録
読書リサーチレーダー投資フレームワーク

Playwright MCP's extension mode allows users to select specific tabs accessible to the agent, suitable for scenarios where limiting agent permissions is desired. Chrome DevTools MCP's auto-connect mode (requiring Chrome 144+) provides full debugging capabilities, including performance traces and network request analysis. Browser Harness, as an open-source tool, attaches to the entire running browser via the Chrome DevTools Protocol, supporting multiple agent interfaces.

Zunic emphasizes security risks: an agent in a signed-in browser can do anything the user can, such as sending emails, changing settings, or buying things. Prompt injection is the main threat, which Anthropic calls "the biggest risk facing browser-using AI tools." He recommends using a separate Chrome profile whenever possible, avoiding letting the agent access sensitive accounts like banking, healthcare, and government, and turning off remote debugging when done.

ソース

  • browser-use.com↗
トピック

Browser Use

Browser Use 创始人 Gregor Zunic 发布实操指南,系统梳理了 Claude Code、Codex 等编程智能体接入用户已登录 Chrome 浏览器的六种配置方案。核心争议在于直接复制 Cookie 因安全机制失效,转而…

3 ステップ1 件更新日 2026-11-07 15:18

経緯

  1. 2025-09-19Browser Use 发布 v0.7.9 版本,GitHub 星标数突破 70k,社区开始关注其持久化会话能力。projectfixes.com ↗
  2. 2026-10-26Gregor Zunic 发布博客《Coding Agent Logged In Chrome》,详细解释为何直接复制 Cookie 行不通,并列出六种替代方案。browser-use.com ↗
  3. 2026-10-28Browser Use 官方文档更新,明确区分 Anthropic 的 Claude in Chrome 扩展与开源的 Browser Harness,后者无需安装扩展即可控制本地 Chrome。browser-use.com ↗

未解決の問題

  • 随着更多网站加强反爬虫检测,基于 CDP 连接的本地浏览器会话是否会面临更高的封禁风险?
  • Browser Harness 作为开源 MIT 许可项目,能否在保持零成本的同时,提供与企业级云浏览器相当的稳定性?
トピック全文を読む →
リサーチを続ける →