Selenium-Message:‘chromedriver‘ executable needs to be in Path

Problem: I changed the corresponding chrome.exe and still reported an error message: 'chromedriver' executable needs to be in Path

reason:

1. The chrome.exe version is wrong, selenium cannot start Google Chrome, see: https://blog.csdn.net/Jwaein/article/details/126284446

2. Renaming the automation project folder causes an error

solve:

(1) Modify the unittest.pth file of D:\Python3.7\Lib\site-packages

*************************************************************************************************************

*************************************************************************************************************

(2), Modify the path in the configuration file config.ini 

Done ✔

Guess you like

Origin blog.csdn.net/weixin_42780888/article/details/127632525