Skip to content

This python project, browser_driver, is my wrapper for Selenium package functionality. I primarily use this in my testing code. I found that sometimes, say with browser version changes, that selenium behavior changes. For instance, at one time it seemed it would scroll to an element if it was out of view, to find it. Then it broke. Having a wrap…

License

shawnjburke/browser_driver

Repository files navigation

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

About

This python project, browser_driver, is my wrapper for Selenium package functionality. I primarily use this in my testing code. I found that sometimes, say with browser version changes, that selenium behavior changes. For instance, at one time it seemed it would scroll to an element if it was out of view, to find it. Then it broke. Having a wrap…

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published