当前位置:网站首页>Resolve the "chromedriver executable needs to be in path" error

Resolve the "chromedriver executable needs to be in path" error

2022-04-23 21:21:00 The man running the horse doesn't get enough sleep

About “selenium.common.exceptions.WebDriverException: Message: ‘chromedriver’ executable needs to be in PATH” Solutions for

 Insert picture description here

1. download chromedriver

 Insert picture description here

  • Select the corresponding version of Google browser to download
     Insert picture description here
     Click on Downloads, You can view and download more versions of drivers .

2. After downloading chromedriver.exe Copy to the installation directory of Google browser ( Such as :C:\Program Files(x86)\Google\Chrome\Application) as well as Python Under the installation root directory of ( Such as :E:\Program Files (x86)\Python\Python310)

 Insert picture description here

 Insert picture description here
3. Add Google browser environment variables to PATH in (C:\Program Files(x86)\Google\Chrome\Application)
 Insert picture description here

版权声明
本文为[The man running the horse doesn't get enough sleep]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/111/202204210543442949.html