SeleniumBase Python 浏览器自动化和隐身测试框架
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/1991513ccie-png/skills
- 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/ 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/1991513ccie-png/skills" target="_blank">This example</a> verifies that <a href="https://github.com/1991513ccie-png/skills
- 📝 <a href="https://github.com/1991513ccie-png/skills">This example</a> demonstrates the drop-in patch that makes Playwright stealthy:
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/seleniumbase/SeleniumBase/HEAD/README.md
Documentation
- https://seleniumbase.io/