该项目是基于 Selenium 的 Python 自动化测试框架,集成了爬虫、自动化测试和生成报告等多种功能。它提供了丰富的示例,并且独特的 UC 模式,可以帮助开发者在进行浏览器自动化操作时避免被检测出来。

GitHub地址

https://github.com/seleniumbase/SeleniumBase

使用示例

pytest my_first_test.py

开源SeleniumBase :功能全面的浏览器自动化框架_github

pytest test_coffee_cart.py --demo

开源SeleniumBase :功能全面的浏览器自动化框架_自动化_02

pytest test_demo_site.py

开源SeleniumBase :功能全面的浏览器自动化框架_运维_03