Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyWeb and browser

SeleniumBase MCP

Lets your AI agent drive a stealthy browser to test sites, scrape pages and get past bot checks.

13k stars on GitHubby Michael Mintz (SeleniumBase)License MITUpdated 18 days ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add seleniumbase -- uvx seleniumbase

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Open this site, search for seleniumbase and list the story titles.
Test the checkout flow on this shop and tell me if any step fails.

What it is

SeleniumBase is a Python framework for browser automation, end-to-end testing and web scraping. Its CDP Mode helps handle bot-detection and CAPTCHAs with Chromium-based browsers. It also supports MCP.

What it can do

  • Launch a stealth browser (CDP Mode)
  • goto, click and type on page elements
  • solve_captcha: handle CAPTCHAs not bypassed automatically
  • find_elements: read elements from a page
  • save_as_pdf: save a page as PDF
  • assert_element and assert_text checks

When to use

  • β€ΊWhen you want to scrape a site that blocks normal automation.
  • β€ΊWhen you want to test a web app end to end.
  • β€ΊWhen you want to fill in forms and click through pages automatically.

What you need

Python and pip install seleniumbase. Google Chrome is the default browser; Chromium and Chrome-for-Testing download automatically if missing.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it free and open source?

Yes, it is installed with pip and has an open license file in the repository.

Which browsers work?

Chrome by default, plus Chromium, Chrome-for-Testing, Edge and Brave.

Does it solve CAPTCHAs?

CDP Mode bypasses many bot checks, and solve_captcha handles CAPTCHAs that are not bypassed automatically. If no CAPTCHA is present, it does nothing.

Can I use it for tests?

Yes, it runs end-to-end tests with pytest.

Does it work with Playwright?

There is an optional stealthy Playwright mode that extends CDP Mode's stealth to Playwright.

How long do waits last?

assert methods wait up to 7 seconds for the expected condition.

If it does not work

  • β€ΊCheck that Python is installed and run pip install seleniumbase.
  • β€ΊPick the browser with options such as --chromium, --cft, --edge or --brave if Chrome is not available.
  • β€ΊThe readme excerpt does not give MCP setup steps; see the mcp_servers folder in the repository.

5 new skills a week. 1 minute to read.