uxDaniel / visa_rescheduler

US VISA (ais.usvisa-info.com) appointment re-scheduler - Colombian adaptation
276 stars 236 forks source link

Newest chrome version is not support WebDriverManager #56

Open etomak1228 opened 1 year ago

etomak1228 commented 1 year ago

I am using Saroosh file perfectly but not the Newest chrome version is not supported. Please help

image

KaranmaanCanada commented 1 year ago

I am using Saroosh file perfectly but not the Newest chrome version is not supported. Please help

image

Same problem, let me know if you can solve this somehow, btw do you use this on your local machine or with AWS

kero3009destiny commented 1 year ago

Webdriver downloads have changed to a JSON API and are no longer the same canonical. The change should be implemented, for now just change the lines between 84 - 91 to below and set chromedriver env manually.

# def get_driver():
#     if LOCAL_USE:
#         dr = webdriver.Chrome(service=Service(ChromeDriverManager().install()))
#     else:
#         dr = webdriver.Remote(command_executor=HUB_ADDRESS, options=webdriver.ChromeOptions())
#     return dr

driver = webdriver.Chrome()
KaranmaanCanada commented 1 year ago

I am using Saroosh file perfectly but not the Newest chrome version is not supported. Please help

image

pip install webdriver-manager --upgrade pip install packaging

just install these two properties using command prompt and you are good to go :)

zttofficial commented 1 year ago

Please refer https://chromedriver.chromium.org/downloads/version-selection about versions 115 and newer.