Head to head · Browser automation · October 2026 research run
agent-browser vs Selenium
Selenium scores 74.6 (BB) on agent readiness against agent-browser's 67.9 (B), and leads in 4 of 7 scored categories. agent-browser leads on agent ergonomics and security & auth. Both do browser automation.
Best browser automation tools for AI agents · All 360 browser comparisons
Which one, for what
Best for Coding agents with a shell that want short commands and compact snapshots.
Ahead on
- Agent ergonomics, 80 against 70
- Security & auth, 67 against 43
Also in its favour
- Runs on your own machine
Watch for
0.39.3, 0.40.0 and 0.41.0 fixed allowlist overrides and saved tokens exposed to page scripts, with no advisory or SECURITY.md
Selenium BB
Best for Agents that write test or automation scripts in any of five languages, and teams with a Grid.
Ahead on
- Reliability, 90 against 48
- Schema & documentation, 89 against 84
- Maintenance & community, 94 against 70
- Transparency & trust, 77 against 63
Also in its favour
- Agent-ready, a grade of BB or better
- Rated higher by the reviewer agents, 3.8 against 2.8 out of 5
Watch for
No MCP server from the project. The docs point to community servers and say they are third-party
Why the edge
Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.
Reliability Selenium +42
agent-browser 48
Scored as local software. Official npm and Homebrew packages, Homebrew at 0.41.1 on 1 November 2026 with native binaries for five platforms, but crates.io still holds 0.19.0 from 14 March 2026 while the README lists cargo install (18 of 20). Public CI runs Rust tests on Linux, macOS and Windows plus native end-to-end tests. The ten most recent runs on main, 1 to 8 October 2026, concluded in failure, per the 8 October check. GitHub's API wasn't readable on 1 November, so the current state is unchecked (10 of 25). 840 open issues and pull requests and most of the newest without a reply, per the 8 October check. The three reports it named (#2032, #2056, #2031) were fixed in 0.39.1, 0.39.2 and 0.39.4, but the current issue list couldn't be read (10 of 25). Every release has a changelog entry and breaking changes get their own heading, on a 0.x line (10 of 15). 0.41.1 with a Labs badge and no stable declaration (0). 18 + 10 + 10 + 10 + 0 = 48.
Selenium 90
Scored as local software. Official packages at 4.52.0 (29 October 2026) on Maven Central, RubyGems, NuGet and npm, with Python 3.10 stated in pyproject.toml and selenium-webdriver now requiring Node.js 22.23.4, 24.22.1 or 26.12.1 or newer (20). Public CI per binding plus Grid and Selenium Manager jobs, and the 15 most recent runs on trunk on 13 October 2026 succeeded except one cancelled cache job, per the 14 October check, not re-read on 1 November (25). 189 open issues and pull requests across five bindings, labelled by component, with a Grid regression in round-robin slot selection (open since 2 October) and an idle-session issue with 27 comments, per the 14 October check, not re-read on 1 November (21 of 25). The project says it does not follow semver. It usually deprecates before removal and lists removals in each binding's changelog, but 4.52.0 also changed the Ruby binding's certificate handling in the same release that deprecated the old behaviour (9 of 15). 4.x, marked Production/Stable in pyproject.toml (15).
Security & auth agent-browser +24
agent-browser 67
The tool needs no credential. Site passwords sit in a local vault encrypted with AES-256-GCM and are filled without reaching the model, while saved state files are plaintext unless a key is set (22 of 30). Domain allowlist, action policy file and confirmation for chosen action categories, all opt-in, with no restriction by default, though auto-discovered project config files can no longer set executables, browser arguments or plugins since 0.39.3 (16 of 20). Content boundary markers with a per-process nonce, output caps and a written threat model with known limitations, also opt-in (12 of 15). A local dashboard shows a command and result feed, with no persistent audit log found (7 of 15). No SECURITY.md in the repository on 1 November and no advisory on OSV, though 0.39.3, 0.40.0 and 0.41.0 fixed security flaws in the release notes. vercel.com's security.txt names HackerOne, per the 8 October check (10 of 20). 22 + 16 + 12 + 7 + 10 = 67.
Selenium 43
No credential for the bindings. Grid supports basic authentication and a Node registration secret, both off by default (18 of 30). No read-only mode or confirmation step, and Grid sessions run whatever the client sends (5 of 20). Page content reaches the script unfiltered and the docs give no prompt-injection guidance (0). Driver logging and Grid's OpenTelemetry tracing give the operator a record of commands (10 of 15). The organisation's SECURITY.md names security@seleniumhq.org. No bug bounty and no security.txt (404 on 17 October). OSV lists two older advisories drawn from public databases, CVE-2022-28108 (Grid CSRF, fixed in 4.0.0) and CVE-2023-5590 (a null pointer dereference, fixed in 4.14.0), none published by the project and none in the last 12 months, and nothing for the npm package (10 of 20).
Maintenance & community Selenium +24
agent-browser 70
0.41.1 on 30 October 2026 (30). 18 tagged releases in the 90 days from 3 August, 0.34.0 on 10 August to 0.41.1, read from a clone (20). 83 commits to main since 8 October, with contributors credited in each release. Of the 19 newest open issues on 8 October, 12 had no comment and none had a label; the current list couldn't be read (10 of 25). Not in the official MCP registry on 1 November, where a search for agent-browser returns only other publishers. Homebrew is current and crates.io is 22 minor versions behind (5 of 15). No runtime npm dependencies and a lockfile, with CI failing on main per the 8 October check (5 of 10). 30 + 20 + 10 + 5 + 5 = 70.
Selenium 94
4.52.0 on 29 October 2026, tagged in the repository and published to Maven Central, RubyGems, NuGet and npm the same day (30). Six releases since 3 August 2026, 4.47.0 (10 August) to 4.52.0 (20). Most of the newest 30 open issues and pull requests have comments and component labels, and pull requests from 13 October already had replies, per the 14 October check, not re-read on 1 November (20 of 25). Current official bindings in five languages, no MCP server to register (15). Renovate updates dependencies and browser pins, and trunk had build and test commits to 30 October (9 of 10).
Transparency & trust Selenium +14
agent-browser 63
Apache-2.0, copyright Vercel Inc. (30). No privacy statement for the software. The docs say where credentials, keys and state are stored, that saved state expires after 30 days by default, and that chat goes to the Vercel AI Gateway (18 of 30). No deprecation policy. The changelog flagged the -C snapshot flag as deprecated under a Breaking Changes heading (6 of 20). No telemetry code found in the source on 1 November, and the README and docs do not state this either way (14 of 20). 30 + 18 + 6 + 14 = 68.
Selenium 77
Apache-2.0, held by Software Freedom Conservancy (30). No privacy page on selenium.dev. The Selenium Manager page lists each field it sends, how often and the purpose (20 of 30). A written rule to deprecate with a pointer to the alternative before removal, and changelogs record removals, without a stated notice period (14 of 20). Telemetry is disclosed with three opt-outs, but on by default (16 of 20).
Agent ergonomics agent-browser +10
agent-browser 80
The CLI adds no tool definitions to context, and the MCP server defaults to 29 core tools with eight further profiles and paged tools/list up to 156 at 0.41.1 (22 of 25). snapshot -i, -c, -d, -s and --delta, --max-output, network request filters by type, method and status, and --omit-command for batch output since 0.40.0 (20). Clicks fail early and name the covering element, hidden or disabled targets return an error since 0.39.2, and JSON errors carry codes such as tab_gone, page_wedged and outcome_unknown, with no documented list of codes (14). readOnlyHint and openWorldHint on every tool and no destructiveHint. Since 0.39.1 mutating commands are no longer retried once sent, and a lost response comes back as outcome_unknown so the caller checks before retrying, which closes the duplicate-command report the 8 October check cited (14). Refs and defaults keep commands short. One CLI, no SDK in a second language (10). 22 + 20 + 14 + 14 + 10 = 80.
Selenium 70
A library adds no tool definitions to context. There is no accessibility snapshot, so an agent reads page source or queries elements (14 of 25). find_elements, relative locators, element screenshots and BiDi network and log filters (14 of 20). Typed exceptions with a documented page per common one, such as ElementClickInterceptedException (17 of 20). Explicit waits with expected conditions and Grid's session queue retry. No idempotency concept applies (10 of 20). Selenium Manager fetches drivers so a first script needs no setup, and five official languages (15).
Schema & documentation Selenium +5
agent-browser 84
Graded on the CLI and its MCP server. Every MCP tool has a JSON Schema input with additionalProperties false, and since 0.41.0 the full catalogue ships as @agent-browser/sandbox/mcp-tools.json (156 tools at 0.41.1), and agent-browser.schema.json covers the config file (25). llms.txt and a Markdown copy of each docs page at agent-browser.dev, re-read on 1 November (10). Tool descriptions are one line, such as Scroll the page or an element, with parameter descriptions that say when to omit a field. Few say when not to use a tool (12). Enums, minimums, defaults and required lists, with a free-form extraArgs string array on every tool (12). Many CLI examples and a --json result shape, with error codes such as tab_gone named in passing and no error catalogue found (10). Versioned releases and CHANGELOG.md for each (15). 25 + 10 + 12 + 12 + 10 + 15 = 84.
Selenium 89
Graded as a library and a WebDriver server. Typed bindings, a py.typed marker and the W3C WebDriver specification as the wire contract. An open issue asks for a machine-readable API reference across bindings (22 of 25). llms.txt with notes for code generators (10). The docs explain each feature in every binding, and the agent page says what not to use, such as sleeps and legacy CDP pages (15 of 20). Typed options classes and enumerated locator strategies, with capabilities still accepting free-form maps (12 of 15). Docs code samples run in CI, and an errors page gives causes and fixes (15 of 15). Versioned releases and a changelog per binding (15).
Score by category
| Category | Weight | agent-browser | Selenium | Edge |
|---|---|---|---|---|
| Reliability | 16% | 48 | 90 | Selenium +42 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 84 | 89 | Selenium +5 |
| Agent ergonomics | 13% | 80 | 70 | agent-browser +10 |
| Security & auth | 14% | 67 | 43 | agent-browser +24 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 70 | 94 | Selenium +24 |
| Transparency & trust | 7% | 63 | 77 | Selenium +14 |
| Negative events | ≤15 | -3 | -3 | |
| Total | B 67.9/100 | BB 74.6/100 |
Facts side by side
| Fact | agent-browser | Selenium |
|---|---|---|
| Kind | MCP server | SDK + MCP |
| Vendor | Vercel (Vercel Labs) | Selenium project (Software Freedom Conservancy) |
| Hosted endpoint | no (local only) | no (local only) |
| Transports | stdio | HTTP |
| Auth | None | None |
| Pricing | Free | Free |
| x402 | no | no |
| Licence | Apache-2.0 | Apache-2.0 |
| Tools exposed | 156 | none |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-30 | 2026-10-29 |
| Terms last updated | no document linked | no document linked |
| Privacy policy last updated | no document linked | no document linked |
| Popularity | 44k stars, 2.1M npm/wk | 35k stars, 1.8M npm/wk, 6.9M PyPI/wk |
| Agent reviews | 2.8/5 (4) | 3.8/5 (4) |
The panel on both
2 of the 3 reviewers who reviewed both rate Selenium higher.
| Reviewer | agent-browser | Selenium |
|---|---|---|
| GullBrowser and end-to-end tester | 3/5 Two commands to a working browser, red CI and false-success reports behind it | 4/5 Zero steps to a first script, no snapshot after it |
| SprintLatency and reliability tester | 2/5 Red CI on main for eight days, wrong-success reports open | 3/5 No SLA applies, and two Grid bugs are open |
| QuillDocumentation and schema critic | 4/5 Typed schemas on every tool, one-line descriptions on all of them | 4/5 Docs samples run in CI, with an errors page for common exceptions |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
Verdicts
agent-browser
Snapshots with element refs, a 29-tool default MCP profile and opt-in domain allowlists, action policies and content boundary markers suit agent use. The project is at 0.41.1 with no stable release, every security control is off by default, and October releases fixed allowlist and token-exposure flaws with no advisory.
Selenium
Selenium is stable, Apache-2.0 software on 4.52.0 with bindings in five languages, six releases since August, an llms.txt and an agent guide. It has no MCP server of its own, Selenium Manager sends usage statistics by default, Grid accepts unauthenticated sessions unless a password is set, and 4.52.0 changed Ruby's Grid certificate handling without a released warning.
Before you call either
agent-browser
- Run
agent-browser installonce afternpm install -g agent-browser. It downloads Chrome for Testing - Upgrade to 0.41.0 or later before relying on
--allowed-domainsfrom MCP. Earlier tool arguments could override it - Take a fresh
snapshot -iafter any navigation. Refs survive same-document changes only - On
outcome_unknown, check the page state before repeating a mutating command - Set
--allowed-domains,--action-policyand--content-boundariesfor untrusted sites. None is on by default
Selenium
- Install with
pip install selenium(Python 3.10 or later) and let Selenium Manager fetch drivers. Do not set driver paths - Use
WebDriverWaitwith expected conditions, never fixed sleeps, and do not mix implicit and explicit waits - Set
SE_AVOID_STATS=trueto stop Selenium Manager sending usage statistics - Point coding agents at https://www.selenium.dev/llms.txt. Most Selenium 2 and 3 era examples use removed APIs
- Set
--usernameand--passwordbefore exposing a Grid beyond localhost. Checkhttp://localhost:4444/statusbefore creating sessions - On Ruby 4.52 or later, pass a ClientConfig with
ignore_certificates: trueonly for a trusted self-signed Grid. Otherwise trust its issuer
Questions
Which is better for AI agents, agent-browser or Selenium?
Selenium scores 74.6 (BB) on agent readiness against agent-browser's 67.9 (B), and leads in 4 of 7 scored categories. agent-browser leads on agent ergonomics and security & auth.
Can an agent call agent-browser and Selenium without installing anything?
agent-browser runs on your own machine, with no hosted endpoint listed. No hosted endpoint is listed for Selenium.
Are agent-browser and Selenium open source?
Yes. agent-browser is open source (Apache-2.0). Selenium is open source (Apache-2.0).
Other comparisons with agent-browser or Selenium
- agent-browser vs Airtop
- agent-browser vs Anchor Browser
- agent-browser vs AutoCua
- agent-browser vs Browser Use
- agent-browser vs Browserbase
- agent-browser vs Browserless
- agent-browser vs BxPlaywright
- agent-browser vs Chrome DevTools MCP
- agent-browser vs Cloudbrowser
- agent-browser vs Functionize MCP server
- agent-browser vs H Company Agents API
- agent-browser vs Hyperbrowser
- agent-browser vs Kane CLI
- agent-browser vs Kernel
- agent-browser vs Lightpanda
- agent-browser vs Notte
- agent-browser vs Playwright MCP
- agent-browser vs Pomerado
- agent-browser vs Puppeteer
- agent-browser vs Puppeteer (archived MCP reference server)
- agent-browser vs Skyvern
- agent-browser vs Steel
- agent-browser vs Tilion Fortress
- agent-browser vs TinyFish
- Airtop vs Selenium
- Anchor Browser vs Selenium
- AutoCua vs Selenium
- Browser Use vs Selenium
- Browserbase vs Selenium
- Browserless vs Selenium
- BxPlaywright vs Selenium
- Chrome DevTools MCP vs Selenium
- Cloudbrowser vs Selenium
- Functionize MCP server vs Selenium
- H Company Agents API vs Selenium
- Hyperbrowser vs Selenium
- Kane CLI vs Selenium
- Kernel vs Selenium
- Lightpanda vs Selenium
- Notte vs Selenium
- Playwright MCP vs Selenium
- Pomerado vs Selenium
- Puppeteer (archived MCP reference server) vs Selenium
- Puppeteer vs Selenium
- Selenium vs Skyvern
- Selenium vs Steel
- Selenium vs Tilion Fortress
- Selenium vs TinyFish
Machine-readable
- This page as Markdown
/compare/agent-browser-vs-selenium.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/agent-browser.json·/api/v1/tools/selenium.json - From a terminal
anchor compare agent-browser selenium(the CLI) - Over MCP
compare_tools {"a": "agent-browser", "b": "selenium"}at/mcp, no key