Selenium
1,配置webdriver的下载路径(环境变量)
# windows
键:SE_CACHE_PATH
值:webdriver的缓存路径(如 D:/WebDriver)
调用浏览器驱动的接口
接口文档:https://www.w3.org/TR/webdriver/#interface
Selenium对浏览器所有的控制,
- 通过接口调用实现(大部分)
- 通过js实现(小部分)
驱动地址:
https://registry.npmmirror.com/binary.html
pytest-xlsx 使用:
excel文件需要以test_开头
Description
Languages
Python
100%