|
|
|
@ -52,6 +52,7 @@ def check_books(user, pw, recipient_email):
@@ -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: |
|
|
|
|