github seleniumbase/SeleniumBase v1.34.19
Add ``--time-limit=s`` to fail long-running tests

latest releases: v4.26.0, v4.25.4, v4.25.3...
4 years ago

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

Don't miss a new SeleniumBase release

NewReleases is sending notifications on new releases.