anomalyco/browser-control
Local browser driver for trusted agents: control your existing Chromium browser through a small extension and local relay
What it solves
Coding agents often struggle to interact with websites that require login sessions, extensions, or other browser context. Browser Control solves this by letting trusted agents run Playwright against your existing Chromium-family browser (Chrome, Brave, Edge, etc.), using your real profile — including logged-in sessions and installed extensions — instead of starting a separate headless browser.
How it works
Browser Control runs a local relay (listening on 127.0.0.1:19989) that receives Playwright code snippets from an agent or CLI, forwards them to a browser extension you manually load, and returns results, logs, warnings, and a summary of changes. The driver itself contains no LLM and makes no planning decisions — it just executes code. You can interact via a CLI, an MCP server, or a TypeScript client. The extension must be loaded by you, giving you explicit consent. The tool also supports sessions (persisting page state), adopting existing tabs, human handoff steps (like CAPTCHA or 2FA), read-only sessions, screen recording, and network capture to generate authenticated API clients.
Who it’s for
Developers and trusted coding agents (like OpenCode, Claude Code, or other agents) that need to automate browser tasks with the user's real browser identity and extensions. It is designed for local, trusted use only — not for untrusted code or remote access.
Highlights
- Uses your real browser profile, so logins and extensions work automatically.
- Works with any Chromium-family browser via a local relay and a user-approved extension.
- Supports sessions with persistent page state and a journal for tracking activity.
- Can attach to an existing logged-in tab by clicking a toolbar button.
- Includes
handoff()for human-only steps like 2FA or payment confirmation. - Provides read-only sessions to prevent accidental input.
- Can record sessions to video (with or without audio) and a flight recorder for intermittent failures.
- Captures authenticated API traffic and generates direct clients that use secret references without exposing them.
- Blocks destructive browser-wide commands (like clearing cookies or closing the browser) as a safety guardrail, but is not a security sandbox — trusted code can still mutate the page.
Related
- Project
- Project
- Project
- Project
- Project