Releases: seleniumbase/SeleniumBase
Releases · seleniumbase/SeleniumBase
Improve demo-mode on mobile device tests
Improve demo-mode on mobile device tests
Update the XPath-to-CSS converter
Update the XPath-to-CSS_Selector converter
Improve ``select_option_by_*()`` methods
Improve select_option_by_*()
methods
- Improve
select_option_by_text(SELECTOR, TEXT)
- Improve
select_option_by_index(SELECTOR, INDEX)
- Improve
select_option_by_value(SELECTOR, VALUE)
- Also update
pytest
andsetuptools-scm
dependencies
Small updates / Improve reliability
Small updates / Improve reliability:
- Update get_page_title() and combine get_title() into it
- Add skip_test() to avoid using the camelCase version
- Improve reliability for the html_inspector
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