Pytest+Allure+Selenuim+异常截屏+Allure日志

环境构建 环境构建参照html 异常截屏 须要使用conftest.py文件,conftest.py须要存在在测试目录中,文件名不能变动,能够根据模块建立层级嵌套。具体参照pytest的官方文档。python 截屏代码 from selenium.webdriver.remote.webdriver import WebDriver import allure def _capture_scr
相关文章
相关标签/搜索