Skip to content

Commit

Permalink
fix for selenium url
Browse files Browse the repository at this point in the history
  • Loading branch information
OriHoch committed Jan 26, 2024
1 parent 6351680 commit 59beffa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion anyway/infographic_image_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
IMAGES_DOWNLOAD_PATH_IN_CONTAINER = "/var/selenium/tempdata"

selenium_url = secrets.get('SELENIUM_URL')
selenium_hub_url = f"https://{selenium_url.replace("selenium.", "selenium-hub.")}/wd/hub"
selenium_hub_url = selenium_url.replace("selenium.", "selenium-hub.")
selenium_hub_url = f"https://{selenium_hub_url}/wd/hub"
selenium_remote_results_url = f"https://{selenium_url}/tempdata"
CHROME_PARTIALLY_DOWNLOADED_FILE_EXTENSION = "crdownload"

Expand Down

0 comments on commit 59beffa

Please sign in to comment.