Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
Ready for Edge/EdgeDriver (Chromium)
Ready for Edge/EdgeDriver (Chromium)
- Update the default EdgeDriver version to 79.0.309.65
- Improve Microsoft EdgeDriver compatibility
- Add test for EdgeDriver and Edge (Chromium) Browser
- Update a Python dependency ("six==1.14.0")
- Also update Firefox preferences
- Update multi-thread detection
Add ``--time-limit=s`` to fail long-running tests
Add --time-limit=s
to fail long-running tests
- This removes and replaces pytest-timeout, which wasn't thread-safe
Usage (command-line):
--time-limit=s
(fail the tests that run longer than "s" seconds)
Usage (in-test):
self.set_time_limit(s)
(fail that test if it runs longer than "s" seconds)
Other unrelated changes:
- Better detection of multi-thread use
- Update click_visible_elements()
- Some minor refactoring
Improve the Logging System
Improve the Logging System:
- Add a timestamp to basic test info logs
- If archiving logs, do it after the tests run (unless multi-threaded)
Usage for archiving logs: --archive-logs
(Log files will be saved to ./archived_logs/
)
Improve method reliability
Improve method reliability
Methods effected by the updates:
find_elements(...)
find_visible_elements(...)
click_visible_elements(...)
click_nth_visible_element(...)
is_element_in_an_iframe(...)
Reduce unwanted logging messages on Windows
Reduce unwanted logging messages on Windows:
- Avoid logs such as: "
DevTools listening on ws://127.0.0.1 ...
" - Also simplify virtualenv installation on Windows with the helper script.
Prevent unused log folders from getting created
Prevent unused log folders from getting created
- Fix issue #466
Use Chrome's Incognito mode with "--incognito"
Add option for Chrome's Incognito mode with "--incognito"
Update a few Python package dependencies
Update a few Python package dependencies:
- pytest-timeout>=1.3.4
- packaging>=20.0
- coverage>=5.0.2
Optimize methods for switching into iframes
Optimize methods for switching into iframes
Improve Firefox WebDriver compatibility on Linux
Firefox WebDriver Linux updates and more:
- Improve Firefox WebDriver compatibility on Linux
- Also update setuptools and tqdm requirements (unrelated)