Minor python cleanup

This commit is contained in:
2021-01-28 18:38:55 +00:00
parent cc233e0223
commit 6a4620a2e5
6 changed files with 78 additions and 68 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