Revert "Minor python cleanup"

This reverts commit 6a4620a2e5.
This commit is contained in:
2021-01-28 18:54:50 +00:00
parent 4b8639faf4
commit a3970cf553
5 changed files with 67 additions and 77 deletions

View File

@@ -71,7 +71,7 @@ def screenshot_failure_cls(cls):
# Checks if animation is done
class animation_is_finished:
class animation_is_finished():
def __call__(self, driver):
numberAnimating = driver.execute_script('return $(":animated").length')
finished = numberAnimating == 0