**English** · [Français](README.fr.md) # Driving a browser with an AI agent: four approaches compared (2026) When an AI agent needs to act on the web, there are four ways to give it control of a browser or a machine. They don't share the same speed, the same relationship to your logged-in sessions, or the same cost. Pick the wrong one and you either burn tokens for nothing or fight a wall of authentication. Here's how they compare, and which one to pick for which case. ## Comparison table | Tool | Speed | Session / logged-in cookies | Determinism | Token cost | Ideal case | Main limitation | |---|---|---|---|---|---|---| | **Browser extension (e.g. Claude for Chrome)** | Slow (LLM reasoning + live rendering) | Excellent: inherits the already logged-in instance | Low to medium (non-deterministic agent) | High (DOM analysis + screenshots) | Tasks on already-open accounts | Tied to a browser, manual trigger, no background autonomy | | **Playwright** | Ultra-fast (direct code, no LLM latency) | Medium: persistent profile or session import to manage yourself | 100% deterministic (as long as the site doesn't change) | Zero for basic interaction | Scraping and testing on stable sites | Fragile to interface changes, no reasoning | | **Browser Use V3** | Medium (DOM-optimized, slowed by the LLM loop) | Good: local profiles or persistent cloud sessions | Medium to high (the new *Browser Harness* self-corrects in Python) | High (heavy DOM consumption) | Autonomous, multi-page web agents on dynamic sites | Recurring LLM cost, heavier SDK integration | | **Computer use (pixels)** | Very slow (capture → visual analysis → click at coordinates) | Perfect: the whole desktop and every open window | Low (coordinate errors, OCR) | Extreme (every screenshot = thousands of visual tokens) | Native applications, heavily anti-bot-hardened sites | Cost and slowness, isolated environment required | ## Which tool for which case **A site behind authentication (dashboards, SaaS, MFA accounts).** A browser extension is the simplest: it inherits the already-open session directly, with no cookie handling or export. If you want to run an autonomous task without locking your screen, Browser Use V3 with a local profile is the alternative. **A public page to script (scraping, monitoring, testing).** Playwright, no question. Deterministic and free in tokens: no need to make an LLM reason over repetitive, predictable actions. Its weakness, fragility to interface changes, is handled with robust selectors. **A native desktop application.** Computer use is the only one that steps outside the browser (Finder, a heavy client, a desktop app). Reserve it for short, targeted tasks: it's slow and expensive. ## The 2026 novelty: Browser Use V3's Browser Harness The year's notable development is Browser Use's move to a V3 with a *Browser Harness* capable of self-correcting by writing Python on the fly. This is what brings it closer to a true autonomous web agent, whereas Playwright remains a blind executor and an extension depends on a human trigger. In exchange, the token bill climbs. ## In one sentence Logged-in session → browser extension · public page to script → Playwright · autonomous background web agent → Browser Use V3 · native application → computer use. --- Comparison established in July 2026. Tool versions and capabilities move fast: verify the current state before committing to an architecture choice. ## License This text is published under the [CC BY-SA 4.0](LICENSE) license. See the `LICENSE` file for the summary and a link to the full legal text. Copyright (c) 2026 Ismaël Joffroy Chandoutis.