Skip to content

Refactor methods and other updates

Compare
Choose a tag to compare
@mdmintz mdmintz released this 29 Mar 04:05
· 4338 commits to master since this release
ab94569

Refactor methods and other updates

  • Refactor BaseCase methods to reduce code:
    -- Duplicate code was pulled into one method.
  • Update JS methods that type backspaces:
    -- Use Keys.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"