From 35c7bff3c873034bbfb5696fb814dd85a38548e8 Mon Sep 17 00:00:00 2001 From: Justin Kromlinger Date: Wed, 28 Feb 2024 21:36:38 +0100 Subject: [PATCH] Use headless configuration properly (#1104) --- src/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.py b/src/utils.py index e8b39db..9d02d58 100644 --- a/src/utils.py +++ b/src/utils.py @@ -186,7 +186,7 @@ def get_webdriver(proxy: dict = None) -> WebDriver: try: driver = uc.Chrome(options=options, browser_executable_path=browser_executable_path, driver_executable_path=driver_exe_path, version_main=version_main, - windows_headless=windows_headless, headless=windows_headless) + windows_headless=windows_headless, headless=get_config_headless()) except Exception as e: logging.error("Error starting Chrome: %s" % e)