conftest.py 封装公共的driver对象实现调用driver对象自动识别本地chrome版本自动下载driver,免除自己手动下载匹配的问题。代码适配无头浏览器自动识别是否是linux,从而使用无头浏览器和selenium grid

This commit is contained in:
caiweichao 2022-06-06 23:16:27 +08:00
parent 0bfdf004e9
commit 2e75575a2e
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@
- 使用技术 Python+Selenium3+Request+Allure2+Pytest+Jenkins+Pymysql+openpyxl - 使用技术 Python+Selenium3+Request+Allure2+Pytest+Jenkins+Pymysql+openpyxl
- 通用型框架已经在自己公司成功落地使用! - 通用型框架已经在自己公司成功落地使用!
- conftest.py 封装公共的driver对象实现调用driver对象自动识别本地chrome版本自动下载driver免除自己手动下载匹配的问题。代码适配无头浏览器自动识别是否是linux从而使用无头浏览器和selenium grid
##### 可以进行: ##### 可以进行:
1. 接口自动化测试通过openpyxl进行数据驱动 1. 接口自动化测试通过openpyxl进行数据驱动
2. UI自动化测试使用PageObjectModel模式进行 2. UI自动化测试使用PageObjectModel模式进行