mirror of
https://github.com/FlareSolverr/FlareSolverr.git
synced 2025-06-06 19:45:25 +00:00
Use headless configuration properly (#1104)
This commit is contained in:
parent
afdc1c7a8e
commit
35c7bff3c8
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user