Install Chrome browser driver

python+selenium+unittest
install Chrome browser driver
Reprinted from: https://blog.csdn.net/weixin_44318830/article/details/103339273

  1. Open the browser and enter chrome://version/ in the address bar to see the current version number of GoogleInsert picture description here

  2. Then we came to the download URL of Google Chrome Driver http://chromedriver.storage.googleapis.com/index.htmlInsert picture description here

  3. Then we just need to choose a different zip download according to the operating system! After
    downloading, we unzip it and it is chromedriver.exeInsert picture description here

  4. There is still the last step, just put it in the following two paths!
    One is in the C drive path, the specific location:
    C:\Program Files (x86)\Google\Chrome\Application,
    which is Chrome installation manual

  5. The other is in the directory where your python is installed: D:\python3.7.3

Guess you like

Origin blog.csdn.net/zhaoweiya/article/details/107777472