# SeleniumBase Python Browser Automation and Stealth Testing Framework

> SeleniumBase is a Python framework for browser automation, end-to-end testing, and stealthy web interaction. It layers pytest-friendly test structure, browser control, reporting, and anti-bot-aware CDP and UC modes on top of Selenium workflows.

- Skill: `agentskillexchange/seleniumbase-python-browser-automation-and-stealth-testing-f` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/seleniumbase-python-browser-automation-and-stealth-testing-f`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/seleniumbase-python-browser-automation-and-stealth-testing-f/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/seleniumbase-python-browser-automation-and-stealth-testing-f

---


# SeleniumBase Python Browser Automation and Stealth Testing Framework

SeleniumBase is a Python framework for browser automation, end-to-end testing, and stealthy web interaction. It layers pytest-friendly test structure, browser control, reporting, and anti-bot-aware CDP and UC modes on top of Selenium workflows.

## Prerequisites

Python 3.9+

## Installation

Use the upstream install or setup path that matches your environment:
- pip install seleniumbase
- git clone https://github.com/seleniumbase/SeleniumBase.git
- pip install -e .
- pip install allure-pytest

Requirements and caveats from upstream:
- <meta property="og:title" content="SeleniumBase: Python Web Automation and E2E Testing" />
- <meta property="og:description" content="Fast, easy, and reliable Web/UI testing with Python." />
- <meta property="og:keywords" content="Python, pytest, selenium, webdriver, testing, automation, seleniumbase, framework, dashboard, recorder, reports, screenshots">

Basic usage or getting-started notes:
- 📚 The [SeleniumBase/examples/](https://github.com/seleniumbase/SeleniumBase/tree/master/examples) folder includes over 100 ready-to-run examples of E2E testing. Examples that start with test_ or end with _test.py/_tes...
- <p align="left">📝 <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/raw_cdp_browserscan.py" target="_blank">This example</a> verifies that <a href="https://github.com/seleniumbase/Sel...
- 📝 <a href="https://github.com/seleniumbase/SeleniumBase/blob/master/examples/cdp_mode/playwright/raw_browserscan_sync.py">This example</a> demonstrates the drop-in patch that makes Playwright stealthy:

- Source: https://github.com/seleniumbase/SeleniumBase
- Extracted from upstream docs: https://raw.githubusercontent.com/seleniumbase/SeleniumBase/HEAD/README.md

## Documentation

- https://seleniumbase.io/

## Source

- [Agent Skill Exchange](https://agentskillexchange.com/skills/seleniumbase-python-browser-automation-stealth-testing-framework/)

