switched to chrome as browser
This commit is contained in:
1
main.py
1
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:
|
||||
|
||||
Reference in New Issue
Block a user