Skip to content

Commit

Permalink
wait for animation to complete
Browse files Browse the repository at this point in the history
  • Loading branch information
artoonie committed Mar 26, 2024
1 parent 22ab5e5 commit e403d8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion movie/creation/movieCreator.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def _set_captions_on_page(self, roundNum, caption, showGraphTitleInsteadOfRoundN

def _generate_image_for_round_synchronously(self, roundNum):
try:
self.browser.execute_script(f'transitionEachBarForRound({roundNum});')
self.browser.execute_script(f'transitionEachBarForRound({roundNum}); sleep(500);')
except selenium.common.exceptions.JavascriptException as exception:
errorText = "This error commonly occurs with Xvfb issues: "
errorText += str(exception)
Expand Down

0 comments on commit e403d8c

Please sign in to comment.