From e20aaf994f23b802a4f47d684d365805ee97f683 Mon Sep 17 00:00:00 2001 From: mfrank Date: Sat, 18 Jan 2025 22:09:46 +0100 Subject: [PATCH] switched to chrome as browser --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 6fdb1b5..c5fdfb0 100644 --- a/main.py +++ b/main.py @@ -52,6 +52,7 @@ def check_books(user, pw, recipient_email): options.add_argument("--headless") # Run Chrome in headless mode options.add_argument("--disable-gpu") # Disable GPU acceleration options.add_argument("--no-sandbox") # Required for some environments + options.add_argument("--incognito") driver = webdriver.Chrome(options=options) # Use ChromeDriver try: