RELEASE v2.2.1
✨ Added
viewport --diagnoseargument will look at your current.envandconfig.iniand look for errors.browser_handlercan now deal with dropped/lost connection while attempting to download the ChromeDrivers/GeckoDrivers.- Option to take screenshot on errors (Deleted after
LOG_DAYS). - Test coverage now at
100%with 300 tests.
🔥Changed
configandenvvalidation now a separatevalidate_config.pyfile.- Rewrite
config.inicomments for brevity. restart_handlernow checks if invoked from within a terminal and replaces itself, otherwise it will detach into the background.viewport --restartstill detaches into the background.viewport -rwill only restart if there's already a script running.- Fully validate relevant
.envvariables when using themonitoringapi.
🐛 Fixed
- Argument parsing now exclusively parses expected arguments.
- log_error bad function call with
e=Nonenow correctly usesNoneinstead.
The full release is a copy of the entire repo. It's the same as cloning from the terminal.
The minimal is just what's needed to run the script - no tests or development files.
The no api is the same as minimal except it also does not include monitoring.py nor the html, css, and js files to run it.