From df08d51d2a34f0157a31811caa753ed0bfc2f40b Mon Sep 17 00:00:00 2001 From: dgtlmoon Date: Thu, 12 Aug 2021 12:33:31 +0200 Subject: [PATCH] WebDriver test fetch should use environment var too --- backend/content_fetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/content_fetcher.py b/backend/content_fetcher.py index 40ff7327..073ee360 100644 --- a/backend/content_fetcher.py +++ b/backend/content_fetcher.py @@ -94,7 +94,7 @@ class html_webdriver(Fetcher): from selenium.common.exceptions import WebDriverException driver = webdriver.Remote( - command_executor='http://browser-chrome:4444/wd/hub', + command_executor=self.command_executor, desired_capabilities=DesiredCapabilities.CHROME) # driver.quit() seems to cause better exceptions