From 72b5ea9ab61d8ae367339cf06b380ed7de1323f2 Mon Sep 17 00:00:00 2001 From: Patrick Robertson Date: Mon, 3 Feb 2025 17:40:40 +0100 Subject: [PATCH] Restore headless arg --- src/auto_archiver/utils/webdriver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auto_archiver/utils/webdriver.py b/src/auto_archiver/utils/webdriver.py index efb1102..005f49d 100644 --- a/src/auto_archiver/utils/webdriver.py +++ b/src/auto_archiver/utils/webdriver.py @@ -85,7 +85,7 @@ class Webdriver: def __enter__(self) -> webdriver: options = webdriver.FirefoxOptions() - # options.add_argument("--headless") + options.add_argument("--headless") options.add_argument(f'--proxy-server={self.http_proxy}') options.set_preference('network.protocol-handler.external.tg', False) # if facebook cookie popup is present, force the browser to English since then it's easier to click the 'Decline optional cookies' option