Selenium 4.11.0 Release with Chrome For Testing Browser

master
Max 2023-08-08 11:50:23 +08:00 committed by GitHub
parent cd86293885
commit 269777377c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -454,7 +454,12 @@ def load_chromdriver_normal(config_dict, driver_type):
try:
driver = webdriver.Chrome(service=chrome_service, options=chrome_options)
except Exception as exc2:
pass
print("Selenium 4.11.0 Release with Chrome For Testing Browser.")
try:
driver = webdriver.Chrome(service=Service(), options=chrome_options)
except Exception as exc3:
print(exc3)
pass
if driver_type=="stealth":