# SeleniumBase

> Python browser automation for testing, scraping and stealth

Source: https://talira.ai/catalog/seleniumbase-3yk0b2yp
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library, Framework, Command-line tool, MCP server
- Categories: [developer tools / testing / browser](https://talira.ai/categories/developer-tools/testing/browser), [data / scraping / libraries](https://talira.ai/categories/data/scraping/libraries), [ai / agents / browser control](https://talira.ai/categories/ai/agents/browser-control)
- Platforms: linux, macos, windows[^3]
- Licence: MIT[^1]
- Pricing: Free and open source
- Free tier: yes
- Self-hostable: yes
- MCP server: yes[^2]
- Supports: [MCP](https://talira.ai/standards/mcp.md)[^2], [AGENTS.md](https://talira.ai/standards/agents-md.md)[^4]
- Backed by: [SeleniumBase](https://talira.ai/orgs/seleniumbase.md)

SeleniumBase is an MIT-licensed Python framework for browser automation: end-to-end testing with pytest, web scraping, and completing tasks on sites that block bots. It wraps Selenium/WebDriver and adds UC Mode and CDP Mode, which drive Chromium-based browsers in ways that avoid bot detection, a stealthy Playwright mode, and solve_captcha() for click-based CAPTCHAs. It also ships a test recorder, dashboards and reports, visual testing, a Selenium Grid farm, website tours, presentations and charts, and an sbase command line. Over 200 example tests show the patterns. An MCP server (seleniumbase-mcp, installed with the mcp extra) lets AI clients drive a stealth browser, and the repository has AGENTS.md and SKILLS.md playbooks for coding agents.

## Links

- Website: https://seleniumbase.io/
- GitHub: https://github.com/seleniumbase/SeleniumBase
- Docs: https://seleniumbase.io/

## Problems it solves

- my Selenium scraper keeps getting blocked by Cloudflare bot detection
- write reliable end-to-end browser tests in Python with pytest
- automate a website that shows a CAPTCHA checkbox
- give my AI agent a stealth browser over MCP for scraping
- record browser actions and turn them into Python tests
- run Playwright through an undetected Chrome browser

## Features

- pytest integration and several syntax formats (BaseCase, SB, Driver, Pure CDP Mode)
- UC Mode and CDP Mode to avoid bot detection in Chromium-based browsers
- Stealthy Playwright Mode
- solve_captcha() for click-based CAPTCHAs
- test recorder that generates scripts
- dashboard, reports, visual testing and Selenium Grid farm
- website tours, presentations and charts
- sbase command line tools
- MCP server over stdio (seleniumbase-mcp)
- AGENTS.md and SKILLS.md guidance for AI agents

## Capabilities

- Has a command line tool: plan not known
- Has an MCP server: plan not known
- Has official SDKs: plan not known

## Trust

Overall: 0.38 out of 1.
Signals: backing 0.30, extensibility 0.40.

- has a company behind it
- has an MCP server for agents

Warnings:

- GitHub activity not fetched yet

## Alternatives

- [Selenium](https://talira.ai/catalog/selenium-dran12kh.md): Automate any browser, from any language.
- [Playwright MCP](https://talira.ai/catalog/playwright-mcp-a299xk2f.md): Playwright MCP server: browser automation for AI agents through accessibility snapshots

## Sources

[^1]: https://github.com/seleniumbase/SeleniumBase/blob/master/LICENSE (checked 22 Nov 2026)
[^2]: https://github.com/seleniumbase/SeleniumBase/tree/master/mcp_servers (checked 22 Nov 2026)
[^3]: https://github.com/seleniumbase/SeleniumBase (checked 22 Nov 2026)
[^4]: https://github.com/seleniumbase/SeleniumBase/blob/master/AGENTS.md (checked 22 Nov 2026)
