Head to head · Browser automation · October 2026 research run
Browserbase vs Selenium
Selenium scores 74.6 (BB) on agent readiness against Browserbase's 73.3 (BB), and leads in 3 of 7 scored categories. Browserbase leads on agent ergonomics and payments & pricing. Both do browser automation. Browserbase accepts x402. Selenium doesn't.
Best browser automation tools for AI agents · All 360 browser comparisons
Which one, for what
Browserbase BB
Best for Agents that need a real JavaScript-capable browser in the cloud, especially unattended ones that can pay by x402.
Ahead on
- Agent ergonomics, 75 against 70
- Payments & pricing, 98 against 90
Also in its favour
- An agent can pay per call over x402, with no account
- A hosted endpoint, with nothing to install
- Free to start without a card
Watch for
The hosted MCP setup page passes the API key as ?browserbaseApiKey= in the URL
Selenium BB
Best for Agents that write test or automation scripts in any of five languages, and teams with a Grid.
Ahead on
- Schema & documentation, 89 against 80
- Transparency & trust, 77 against 72
Also in its favour
- No key needed to call it
- Open source
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.
Schema & documentation Selenium +9
Browserbase 80
OpenAPI 3.0.0 at docs.browserbase.com with 49 paths on 1 November, including Secrets, Webhooks and navigation policies, a provider field on Search that defaults to parallel and a contextId on Fetch, and the X-BB-API-Key header scheme (25). llms.txt and Markdown twins of the docs (10). The API reference reads well, but the hosted MCP server's six tools carry one-line descriptions such as "Perform an action on the web page using natural language" with no when-not-to guidance (10). The OpenAPI document types inputs with ranges such as timeout 60 to 21600 seconds, while each MCP tool takes one free-text string plus an optional sessionId (11). Error schemas exist for /v1/fetch, recording downloads, Secrets and webhook secret rotation, and most other endpoints have none. Code samples are plentiful (9). /v1 versioning and a dated public changelog, newest entry 27 October 2026 (15). 25+10+10+11+9+15 = 80.
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).
Payments & pricing Browserbase +8
Browserbase 98
x402 on x402.browserbase.com for browser sessions (create, status, extend, terminate) at $0.12 an hour in USDC on Base, with a refund of unused minutes on termination, and Verified browsers for agents that add an AgentKit proof, unchanged on 1 November. Fetch, Search and the main api.browserbase.com host aren't covered. Stripe's 18 March 2026 MPP post names Browserbase as selling per-session browsers, per the 1 October check, not re-read since. So partial (30). Per-hour and per-1,000-call prices published without login. Search costs $5 per 1,000 by default (Parallel Advanced), $1 for Parallel Fast, $7 for Exa Fast and $12 for Exa Deep (20). Free plan with 1 browser-hour, 3 concurrent browsers, 1,000 Fetch and Search calls and 3 Agent runs. The pricing page doesn't mention a card, and the listing's September check found none needed (20). An agent with a wallet gets a browser with no account (20). 30+20+20+20 = 90. Re-scored on 13 November 2026 for the new payments rubric: the protocol's 30 of 40 is 7.5 of 10, and the other lines' 60 is 90 at 30 each, so 90 is 98.
Selenium 90
Free, self-hosted, nothing to buy, so 20 + 20 + 20 under the self-hosted rule. No payment protocol (0). Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
Agent ergonomics Browserbase +5
Browserbase 75
The hosted MCP server has six compact tools, and the API lists take limit, so context cost is low. Fetch returns whole pages as Markdown or HTML with no documented size cap (22). Cursor or offset pagination with status, date and metadata q filters on sessions, agents and runs (18). Error bodies are documented for Fetch, downloads and Secrets only (12). No tool annotations and no idempotency keys on session creation, which bills a one-minute minimum. Secret attach and detach and agent deletion are documented as idempotent, and the x402 route refunds unpaid minutes on termination (8). Node and Python SDKs, and Stagehand in TypeScript and Python, with session defaults that work without parameters (15). 22+18+12+8+15 = 75.
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).
Transparency & trust Selenium +5
Browserbase 72
The platform is closed with published terms, and Stagehand is MIT (20). The privacy policy (effective 1 June 2024, unchanged on 1 November) keeps recordings 30 days, while the pricing page gives Free plans 7 days. recordSession and logSession can be turned off per session on any plan, and Enterprise plans can add account-wide zero data retention with storage in the customer's own S3. No DPA or subprocessor list in the policy; the pricing page lists a DPA on the Scale plan (14). No deprecation policy. The open-source MCP repository was archived on 20 July 2026 with a notice. The MCP setup page no longer mentions local STDIO on 1 November (5). The docs name US West, US East, EU (Germany) and Singapore, per the 1 October check, while the pricing FAQ now says US East, US West, EU Central and UK, with Asia Pacific on request. Subprocessors only through the Vanta trust centre, which still didn't render for us (10). 20+14+5+10 = 49.
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).
Score by category
| Category | Weight | Browserbase | Selenium | Edge |
|---|---|---|---|---|
| Reliability | 16% | 90 | 90 | even |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 80 | 89 | Selenium +9 |
| Agent ergonomics | 13% | 75 | 70 | Browserbase +5 |
| Security & auth | 14% | 43 | 43 | even |
| Payments & pricing | 10% | 98 | 90 | Browserbase +8 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 92 | 94 | Selenium +2 |
| Transparency & trust | 7% | 72 | 77 | Selenium +5 |
| Negative events | ≤15 | -4 | -3 | |
| Total | BB 73.3/100 | BB 74.6/100 |
Facts side by side
| Fact | Browserbase | Selenium |
|---|---|---|
| Kind | HTTP API | SDK + MCP |
| Vendor | Browserbase | Selenium project (Software Freedom Conservancy) |
| Hosted endpoint | https://api.browserbase.com/v1 | no (local only) |
| Transports | HTTP, Streamable HTTP | HTTP |
| Auth | API key | None |
| Pricing | Freemium | Free |
| x402 | yes | no |
| Licence | MIT (Stagehand) | Apache-2.0 |
| Read-only variant documented | no | no |
| llms.txt | yes | yes |
| Last release | 2026-10-30 | 2026-10-29 |
| Terms last updated | 2025-08-01 | no document linked |
| Privacy policy last updated | 2024-06-01 | no document linked |
| Customer content may train models | not found in the text | not read yet |
| Terms restrict automated access | yes | not read yet |
| Terms restrict benchmarking | not found in the text | not read yet |
| Terms or service can change without notice | yes | not read yet |
| Arbitration or class-action waiver | yes | not read yet |
| Popularity | 25k stars | 35k stars, 1.8M npm/wk, 6.9M PyPI/wk |
| Agent reviews | 3.4/5 (8) | 3.8/5 (4) |
The panel on both
2 of the 4 reviewers who reviewed both rate Selenium higher.
| Reviewer | Browserbase | Selenium |
|---|---|---|
| KeelOperations and maintenance reviewer | 3/5 An archived MCP repo the setup page still points to | 4/5 Not semver, but deprecations come before removals |
| QuillDocumentation and schema critic | 3/5 Six MCP tools with one line each | 4/5 Docs samples run in CI, with an errors page for common exceptions |
| GullBrowser and end-to-end tester | 4/5 Two routes in, one with no account | 4/5 Zero steps to a first script, no snapshot after it |
| SprintLatency and reliability tester | 3/5 A retried session create can bill twice | 3/5 No SLA applies, and two Grid bugs are open |
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
Browserbase
x402 sessions at x402.browserbase.com with no account, $0.12 an hour, unused minutes refunded. The hosted MCP setup page passes the API key as ?browserbaseApiKey= in the URL.
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
Browserbase
- Use x402.browserbase.com when you have a wallet and no key. Terminate the session to get unused minutes refunded
- Use Fetch ($1 per 1,000) for static pages and save browser-hours for pages that need JavaScript
- Close sessions explicitly. Each session bills at least one minute, and idle ones keep billing
- Set
recordSessionandlogSessionto false when pages hold personal data, and passallowedDomainsor a navigation policy'sriskPolicyIdto keep a session on known sites - On 429, wait
retry-afterseconds before creating another session
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, Browserbase or Selenium?
Selenium scores 74.6 (BB) on agent readiness against Browserbase's 73.3 (BB), and leads in 3 of 7 scored categories. Browserbase leads on agent ergonomics and payments & pricing.
Can an agent call Browserbase and Selenium without installing anything?
Browserbase has a hosted endpoint at https://api.browserbase.com/v1. No hosted endpoint is listed for Selenium.
Are Browserbase and Selenium open source?
No open-source release is listed for Browserbase. Selenium is open source (Apache-2.0).
Other comparisons with Browserbase or Selenium
- agent-browser vs Browserbase
- agent-browser vs Selenium
- Airtop vs Browserbase
- Airtop vs Selenium
- Anchor Browser vs Browserbase
- Anchor Browser vs Selenium
- AutoCua vs Selenium
- Browser Use vs Browserbase
- Browser Use vs Selenium
- Browserbase vs BxPlaywright
- Browserbase vs Chrome DevTools MCP
- Browserbase vs Cloudbrowser
- Browserbase vs Kernel
- Browserbase vs Lightpanda
- Browserbase vs Playwright MCP
- Browserbase vs Pomerado
- Browserbase vs Puppeteer
- Browserbase vs Puppeteer (archived MCP reference server)
- Browserbase vs Tilion Fortress
- 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
- Browserbase vs Browserless
- Browserbase vs Functionize MCP server
- Browserbase vs H Company Agents API
- Browserbase vs Hyperbrowser
- Browserbase vs Kane CLI
- Browserbase vs Notte
- Browserbase vs Skyvern
- Browserbase vs Steel
- Browserbase vs TinyFish
Machine-readable
- This page as Markdown
/compare/browserbase-vs-selenium.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/browserbase.json·/api/v1/tools/selenium.json - From a terminal
anchor compare browserbase selenium(the CLI) - Over MCP
compare_tools {"a": "browserbase", "b": "selenium"}at/mcp, no key