diff --git a/movie/creation/movieCreator.py b/movie/creation/movieCreator.py index 94fc660b..1515b026 100644 --- a/movie/creation/movieCreator.py +++ b/movie/creation/movieCreator.py @@ -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)