diff --git a/anyway/infographic_image_generator.py b/anyway/infographic_image_generator.py index 051560d3..4124e95e 100644 --- a/anyway/infographic_image_generator.py +++ b/anyway/infographic_image_generator.py @@ -14,7 +14,7 @@ IMAGES_DOWNLOAD_PATH_IN_CONTAINER = "/var/selenium/tempdata" selenium_url = secrets.get('SELENIUM_URL') -selenium_hub_url = f"https://{selenium_url}/wd/hub" +selenium_hub_url = f"https://{selenium_url.replace("selenium.", "selenium-hub.")}/wd/hub" selenium_remote_results_url = f"https://{selenium_url}/tempdata" CHROME_PARTIALLY_DOWNLOADED_FILE_EXTENSION = "crdownload"