浏览器驱动程序是SeleniumWeb自动化的包装器
sjb.browserdriver的Python项目详细描述
这个项目包含一个Selenium的包装器,一个自动化浏览器的框架, 通常用于测试。此包装提供
- Logging, because good software has good logging
- Browser Upgrade Protection; because as they race to out-do each other, the browser behaves differently with some updates
- Selenium behavior supplementation; for instance, with an update, Chrome required an element to be scrolled into view or an error occurred. Having a central wrapper allows for making that sort of update in one location
- Screenshots, because if you want to run lights-out (not visible), you’ll need a screenshot of what went wrong to fix it.
安装
c:\browser_test>venv\scripts\pip-installsjb.browserdriver
升级现有安装添加附加开关
c:\browser_test>venv\scripts\pip-installsjb.browserdriver--upgrade
最近的更改
完整的更改日志可以在[TOdo:update with link]找到
V0.1.3-修复安装过程将更新BAT文件所在的cfg file key=值的错误 更新为key=value。
v0.1.2-在dist_pypi.bat+browser_driver.cfg中修复错误
v0.1.1-更新setup.py添加find_和_list_packages()方法。以多种方式更新了dist_pypi.bat脚本。 包括在项目cfg文件中更新我们上传到pypi环境的日期。
v0.1.0-使用语义版本号方案的test.pypi.org的第一个开发版本。
文档
这个项目使用sphinx和restructuredtext进行文档化,使用read the docs提供的主题。
文档可以在多个位置找到
- 文档\ HTML格式
- docs_source \作为structuredText source
- https://shawnjburke.github.io/browser_driver/