Refactor methods and other updates
- Refactor
BaseCase
methods to reduce code:
-- Duplicate code was pulled into one method. - Update JS methods that type backspaces:
-- UseKeys.BACK_SPACE
instead of"\b"
- Optimize
wait_for_ready_state_complete()
:
-- Shorten timeout and don't raise exceptions.
-- ("interactive"
state is often good enough) - Refactor imports for exception-handling:
-- Import from:"selenium.common.exceptions"
-- Previously, exceptions were imported from:
--"selenium.webdriver.remote.errorhandler"
-- (Now the exception imports are consistent.) - Update Python dependencies:
--ipython==7.22.0;python_version>="3.7"
--rich==10.0.0;python_version>="3.6"