feat: 优化定位转换器调整框架结构
- 新增 finder.py 重构定位转换器 - 优化 .gitignore 文件 - 其他优化
This commit is contained in:
22
POM/tests/conftest.py
Normal file
22
POM/tests/conftest.py
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env python
|
||||
# coding=utf-8
|
||||
|
||||
"""
|
||||
@author: CNWei
|
||||
@Software: PyCharm
|
||||
@contact: t6i888@163.com
|
||||
@file: conftest
|
||||
@date: 2025/4/5 09:28
|
||||
@desc:
|
||||
"""
|
||||
import pytest
|
||||
from selenium.webdriver import Chrome,Edge
|
||||
|
||||
|
||||
@pytest.fixture()
|
||||
def driver():
|
||||
_driver = Edge()
|
||||
yield _driver
|
||||
_driver.quit()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user