switched to chrome as browser
This commit is contained in:
1 parent
54661883ff
commit
e20aaf994f
1 file changed
+1
@@ -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