browser_driver
This project contains a wrapper for selenium, a framework to automate a browser, and often used in testing. This wrapper provides
- 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.
Installation
c:\browser_test> venv\scripts\pip -install sjb.browserdriver
To upgrade an existing installation add the additional switch
c:\browser_test> venv\scripts\pip -install sjb.browserdriver --upgrade
Recent Changes
The full change log can be found at https://shawnjburke.github.io/browser_driver/change_log.html
v0.1.4 - Bug fix when using dst_pypi.bat to upload to production Python package index https://upload.pypi.org. Bug fix for Sphinx version not matching updating it to pull from configuration file. Also moved some project information into the configuration file for use with Sphinx and setup.py.
v0.1.3 - Bug fix where the setup process would update the cfg file key = value where the bat file was updating as key=value.
Documentation
This project is documented using Sphinx and reStructuredText, using a theme provided by Read the Docs.
Documentation can be found in several locations
- docs\ as html
- docs_source\ as reStructuredText source
- https://shawnjburke.github.io/browser_driver/