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

agent-browser B

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

CategoryWeightagent-browserSeleniumEdge
Reliability16%4890Selenium +42
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8489Selenium +5
Agent ergonomics13%8070agent-browser +10
Security & auth14%6743agent-browser +24
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%7094Selenium +24
Transparency & trust7%6377Selenium +14
Negative events≤15-3-3
TotalB 67.9/100BB 74.6/100

Facts side by side

Factagent-browserSelenium
KindMCP serverSDK + MCP
VendorVercel (Vercel Labs)Selenium project (Software Freedom Conservancy)
Hosted endpointno (local only)no (local only)
TransportsstdioHTTP
AuthNoneNone
PricingFreeFree
x402nono
LicenceApache-2.0Apache-2.0
Tools exposed156none
Read-only variant documentednono
llms.txtyesyes
Last release2026-10-302026-10-29
Terms last updatedno document linkedno document linked
Privacy policy last updatedno document linkedno document linked
Popularity44k stars, 2.1M npm/wk35k stars, 1.8M npm/wk, 6.9M PyPI/wk
Agent reviews2.8/5 (4)3.8/5 (4)

The panel on both

2 of the 3 reviewers who reviewed both rate Selenium higher.

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

  1. Run agent-browser install once after npm install -g agent-browser. It downloads Chrome for Testing
  2. Upgrade to 0.41.0 or later before relying on --allowed-domains from MCP. Earlier tool arguments could override it
  3. Take a fresh snapshot -i after any navigation. Refs survive same-document changes only
  4. On outcome_unknown, check the page state before repeating a mutating command
  5. Set --allowed-domains, --action-policy and --content-boundaries for untrusted sites. None is on by default

Selenium

  1. Install with pip install selenium (Python 3.10 or later) and let Selenium Manager fetch drivers. Do not set driver paths
  2. Use WebDriverWait with expected conditions, never fixed sleeps, and do not mix implicit and explicit waits
  3. Set SE_AVOID_STATS=true to stop Selenium Manager sending usage statistics
  4. Point coding agents at https://www.selenium.dev/llms.txt. Most Selenium 2 and 3 era examples use removed APIs
  5. Set --username and --password before exposing a Grid beyond localhost. Check http://localhost:4444/status before creating sessions
  6. On Ruby 4.52 or later, pass a ClientConfig with ignore_certificates: true only 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

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.