Skip to content

Lots of refactoring and efficiency improvements

Compare
Choose a tag to compare
@mdmintz mdmintz released this 26 Mar 22:12
· 4347 commits to master since this release
8173611

Lots of refactoring and efficiency improvements

  • Refactor browser_launcher.py.
    -- (Get ready for deprecations coming in selenium 4.)
  • Have assert_text_not_visible() return True if successful.
    -- (It still fails the test if the unexpected text is still visible.)
  • Refactor seleniumbase resource files:
    -- Save space by moving copies of resource files out of the repo.
    -- (Most JS files were already getting retrieved via CDN link.)
  • Refactor seleniumbase imports.
    -- (Defer importing packages until needed, which saves time.)
  • Update non-required dependencies:
    -- pyflakes==2.3.1;python_version>="3.5"