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