Doramagic.ai English

浏览器自动化 · 开源项目

SeleniumBase

SeleniumBase 是一个用于 UI 测试、网页爬取和隐身操作的框架,通过 CDP 模式可绕过所有机器人检测,并扩展了 Playwright 的能力。

最后验证日期:2026-06-19 验证方法:来源证据、语义档案、公开页面门禁和静态构建验收。

快速判断 · 2026-06-19

SeleniumBase 项目 是什么?

01

一眼判断

先判断自己是否是目标用户,再决定是否继续。
最适合谁需要浏览器自动化能力,并使用 本地 CLI的用户

判断自己是不是目标用户。

核心能力技能包、使用配方、宿主说明、评估规则、预检清单

不适合希望跳过沙箱验证、无法接受配置权限或维护成本的用户。

第一步验证继续完成沙箱验证和证据复核

未完成验证前保持审慎。

02

它能做什么

把项目翻译成用户能判断的具体能力,而不是 Doramagic 的使用流程。
1

浏览器 Agent

SeleniumBase 是一个用于 UI 测试、网页爬取和隐身操作的框架,通过 CDP 模式可绕过所有机器人检测,并扩展了 Playwright 的能力。

ability-1
2

网页任务自动化

帮助用户判断这个项目适合什么工作,而不是只看技术名词。

ability-2
3

浏览器自动化

说明输入、输出、失败模式和继续前需要复核的边界。

ability-3
4

可验证工作流

沉淀为 Prompt、说明书、上下文包或预检清单等可带走资产。

ability-4

来源:https://github.com/seleniumbase/SeleniumBase、https://github.com/seleniumbase/SeleniumBase#readme、项目说明书、踩坑日志。这里只回答“它能帮我做什么”。

03

项目温度与外部声音

站点快照,非实时质量证明;用于开工前背景判断。
星标13k
分叉1.6k
贡献者40
许可证未知
状态可发布

社区讨论

已收录 12 条来源

下面是已采集到的项目级社区讨论来源,来源平台:github。这些外部声音用于帮助判断真实使用反馈,不单独作为质量证明。

04

怎么开始使用

先试、再读项目说明书、再带给 AI,最后按官方quick start验证。
1

先试 Prompt

不安装项目,先体验能力节奏。

预览
2

读项目说明书

理解输入、输出、失败模式和边界。

说明书
3

带给 AI

把上下文交给你的宿主 AI 继续工作。

上下文
4

沙箱验证

进入主力环境前先完成安装入口与风险边界验证。

验证
Python / pip · 官方安装入口pip install seleniumbase

来源:https://github.com/seleniumbase/SeleniumBase#readme。验证:已通过。

05

项目说明书

每个项目结构不同,Doramagic 保留原项目解释结构,并补充边界与踩坑日志。

草稿 · 项目说明书

SeleniumBase 说明书

SeleniumBase 是一个用于 UI 测试、网页爬取和隐身操作的框架,通过 CDP 模式可绕过所有机器人检测,并扩展了 Playwright 的能力。

打开完整说明书
  1. https://github.com/seleniumbase/SeleniumBase 项目说明书
  2. 目录
  3. 项目概览、安装与 CLI
  4. 相关页面
  5. 1. 项目概览
  6. 2. 安装
  7. 2.1 核心包安装

06

带给 AI 的上下文包

决定继续后,把项目上下文带给你的宿主 AI。

标准项目包 + 用户可带走资产

这不是营销摘要。它是用户决定继续后,可交给 Claude Code、Codex、Gemini、Cursor 等宿主 AI 的开工前上下文。

07

继续前检查

在复制命令、导入 AI、安装插件前,看清还不能相信什么。
检查 1

不要把试用当真实运行

试用 Prompt 只展示流程,不证明项目已安装或运行。

检查 2

确认宿主兼容

本地 CLI

检查 3

先隔离验证

继续完成沙箱验证和证据复核

08

踩坑日志与复核重点

Doramagic 记录的高风险项优先显示,避免用户把候选能力当成已验证能力。
high · 配置坑

来源证据:High-Level Stealthy Architecture Overview

GitHub 社区证据显示该项目存在一个配置相关的待验证问题:High-Level Stealthy Architecture Overview

可能增加新用户试用和生产接入成本。

medium · 安装坑

来源证据:Add option to set the exact Chromium revision downloaded for `sbase get chromium`

GitHub 社区证据显示该项目存在一个安装相关的待验证问题:Add option to set the exact Chromium revision downloaded for `sbase get chromium`

可能增加新用户试用和生产接入成本。

medium · 安装坑

来源证据:On Windows、`ValueError: "I/O operation on closed pipe"` during the cleanup phase of Pure CDP Mode

GitHub 社区证据显示该项目存在一个安装相关的待验证问题:On Windows、`ValueError: "I/O operation on closed pipe"` during the cleanup phase of Pure CDP Mode

可能增加新用户试用和生产接入成本。

medium · 配置坑

来源证据:Chromium first launch on Mac: `Do you want the application “Chromium Helper.app” to accept incoming network connections…

GitHub 社区证据显示该项目存在一个配置相关的待验证问题:Chromium first launch on Mac: `Do you want the application “Chromium Helper.app” to accept incoming network connections?`

可能增加新用户试用和生产接入成本。

medium · 配置坑

来源证据:Slider captcha no bypassed、stops before slider finishes

GitHub 社区证据显示该项目存在一个配置相关的待验证问题:Slider captcha no bypassed、stops before slider finishes

可能增加新用户试用和生产接入成本。

medium · 配置坑

来源证据:The latest chromium version makes UC Mode crash (includes UC + CDP Mode)

GitHub 社区证据显示该项目存在一个配置相关的待验证问题:The latest chromium version makes UC Mode crash (includes UC + CDP Mode)

可能阻塞安装或首次运行。

medium · 能力坑

能力判断依赖假设

README / 文档足够支持第一次验证,但仍需继续核对。

假设不成立时,用户拿不到承诺的能力。

medium · 运行坑

来源证据:Missing `await` in `ad_block` option code led to `RuntimeWarning: coroutine 'Browser.wait' was never awaited`

GitHub 社区证据显示该项目存在一个运行相关的待验证问题:Missing `await` in `ad_block` option code led to `RuntimeWarning: coroutine 'Browser.wait' was never awaited`

可能增加新用户试用和生产接入成本。

medium · 运行坑

来源证据:On Windows、`solve_captcha()` isn't dragging the DataDome slider enough to the right

GitHub 社区证据显示该项目存在一个运行相关的待验证问题:On Windows、`solve_captcha()` isn't dragging the DataDome slider enough to the right

可能增加新用户试用和生产接入成本。

medium · 运行坑

来源证据:`get_title()` sometimes errors with `TypeError` if the page hasn't loaded enough

GitHub 社区证据显示该项目存在一个运行相关的待验证问题:`get_title()` sometimes errors with `TypeError` if the page hasn't loaded enough

可能增加新用户试用和生产接入成本。

medium · 维护坑

来源证据:the new version of seleniumbase doesnt fully load chromium and crashes whenever i run my python code

GitHub 社区证据显示该项目存在一个维护/版本相关的待验证问题:the new version of seleniumbase doesnt fully load chromium and crashes whenever i run my python code

可能阻塞安装或首次运行。

medium · 维护坑

维护活跃度未知

未记录 last_activity_observed。

新项目、停更项目和活跃项目会被混在一起,推荐信任度下降。

下一步:继续完成沙箱验证和证据复核。