sjb.browserdriver

Browser Driver is a Wrapper for Selenium Web Automation


Keywords
selenium, test, testing, automation, browser
License
MIT
Install
pip install sjb.browserdriver==0.1.3

Documentation

browser_driver

This project contains a wrapper for selenium, a framework to automate a browser, and often used in testing. This wrapper provides

  1. Logging, because good software has good logging
  2. Browser Upgrade Protection; because as they race to out-do each other, the browser behaves differently with some updates
  3. 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
  4. 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