This version was written and tested on Python 3.9.6
Added
- Added custom logger (No need to override root logger now)
- Added custom user-defined exceptions instead of “result and message”
- Added parameter "old_return" for returning old variables like "result and message" (if you need to)
- Added command line control
- Added alternative method of getting needed data via github if github api limit is restricted (not all methods, but many necessary)
- Added base class for all driver classes
- Added support for safaridriver (not updating or downloading)
- Added properly exiting driver with context managers instead of driver.quit()
Improvements
- Simplified driver classes initialization
- Simplified checking for correct driver_name
- Improved driver version validating if specific version was given
- Improved getting current version of chrome browser on MacOS (added additional path)
Fixes
- Fixed an issue with incorrect operadriver downloading (fixed in 4.1.5)
- Fixed an issue if multiply identical drivers and different OS's names were given and later was incorrect filename extension checking (fixed in 4.1.6)
- Fixed an issue with incorrect getting current version of opera browser (fixed in 4.1.7)
Other
- Removed error handling pattern