Configs2026年5月24日·1 分钟阅读

Browser Harness — Self-Healing Browser Automation for LLMs

A persistent browser harness by Browser Use that enables LLMs to complete any web task with self-healing navigation and automatic error recovery.

Agent 就绪

这个资产可以被 Agent 直接读取和安装

TokRepo 同时提供通用 CLI 命令、安装契约、metadata JSON、按适配器生成的安装计划和原始内容链接,方便 Agent 判断适配度、风险和下一步动作。

Native · 98/100策略:允许
Agent 入口
任意 MCP/CLI Agent
类型
Skill
安装
Single
信任
信任等级:Established
入口
Browser Harness Overview
通用 CLI 安装命令
npx tokrepo install b12b2c76-5727-11f1-9bc6-00163e2b0d79

Introduction

Browser Harness is a persistent, self-healing browser runtime built for AI agents. It extends the Browser Use ecosystem with cloud-ready browser instances that LLMs can control to complete complex web tasks, automatically recovering from navigation errors and page changes.

What Browser Harness Does

  • Provides persistent browser sessions accessible via Chrome DevTools Protocol
  • Implements self-healing navigation that adapts to page layout changes
  • Supports multi-tab workflows with isolated session contexts
  • Handles authentication persistence across agent sessions
  • Offers cloud and VPS deployment modes for remote browser access

Architecture Overview

Browser Harness runs a managed Chromium instance exposed via CDP. A middleware layer intercepts agent commands and applies self-healing logic: if a selector fails, it attempts fuzzy matching, visual element detection, and DOM re-analysis before retrying. Sessions persist across agent reconnections with full cookie and storage state preservation.

Self-Hosting & Configuration

  • Deploy via Docker with a single container image
  • Configure CDP port and authentication via environment variables
  • Set up persistent storage volumes for session state
  • Scale horizontally with multiple browser instances behind a load balancer
  • Integrate with Telegram or Slack for remote agent monitoring

Key Features

  • Self-healing selectors that adapt to DOM changes automatically
  • Persistent sessions surviving agent disconnects and reconnects
  • Cloud-native deployment with Docker and Kubernetes support
  • Built-in screenshot and video recording for debugging
  • CDP-compatible interface working with Playwright and Puppeteer

Comparison with Similar Tools

  • Browser Use — the Python agent library; Browser Harness is the persistent runtime
  • Playwright — browser automation library; Browser Harness adds self-healing and persistence
  • Stagehand — AI browser framework; Browser Harness focuses on infrastructure
  • Selenium — traditional automation; Browser Harness is designed for LLM agent workflows

FAQ

Q: How does self-healing work? A: When a CSS selector fails, the harness uses fuzzy matching, ARIA attributes, and visual analysis to locate the intended element and retry the action.

Q: Can multiple agents share one browser instance? A: Yes. The harness supports isolated tab contexts so multiple agents can operate concurrently in separate tabs.

Q: What browsers are supported? A: Chromium-based browsers via the Chrome DevTools Protocol.

Q: How do I persist login sessions? A: Session storage and cookies are saved to disk by default and restored on reconnect.

Sources

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产