
Description
SeleniumBase is a Python framework for browser automation, end-to-end testing and web scraping. It wraps the Selenium and WebDriver APIs and adds test runners such as pytest and behave, so you get test discovery, test states such as passed, failed or skipped, and command-line options for choosing browsers and other settings. Its driver manager downloads browser drivers for you, so you do not have to manage chromedriver versions by hand. SeleniumBase also includes a CDP Mode that drives Chromium through the Chrome DevTools Protocol, and a stealth mode for Playwright. Other features on the docs site include a demo mode for watching tests run, a debugging mode, a dashboard with reports, a GUI commander, a recorder mode, a chart maker and presentation maker, and integrations for Docker, GitHub CI, Azure Pipelines, Jenkins and Selenium Grid. An MCP integration lets AI assistants use the framework. The project publishes demo test pages for practice, including forms, iframes, drag and drop, shadow DOM and CAPTCHA test pages. Its documentation covers Python setup, the API reference and migration from raw Selenium.…
Highlights
- Python framework on Selenium and WebDriver
- pytest and behave-BDD test runners
- Automatic driver management
- CDP Mode for Chromium
- Reports, dashboard and recorder
- Docker, GitHub CI, Jenkins and Selenium Grid integrations
Ratings & Reviews
No ratings yet
Be the first to rate SeleniumBase.
People also visit
SeleniumBase FAQ
What is SeleniumBase?
A Python framework for browser automation, end-to-end testing and scraping, built on Selenium and WebDriver with test runners and reporting.
How is it different from raw Selenium?
The docs say it adds test runners, test organization and command-line options, so you do not have to build your own options parser or test structure.
Does it manage browser drivers?
Yes. Its driver manager downloads the driver for the browser you use, and you can control the version with a driver version option.
Can it run in CI?
Yes. The docs include integrations for Docker, GitHub Actions, Azure Pipelines and Jenkins, and it can scale across Selenium Grid.
Is there an AI integration?
Yes. The docs describe an MCP integration so AI assistants can use the framework.
How do I get started?
The docs walk through getting Python, pip and git, setting up a virtual environment, and installing SeleniumBase, then running the basic example.
What are the best SeleniumBase alternatives?
Popular alternatives to SeleniumBase include Invisible Selenium, Nightwatch.js and Invisible Playwright. See all SeleniumBase alternatives









