python+selenium+unittest
install Chrome browser driver
Reprinted from: https://blog.csdn.net/weixin_44318830/article/details/103339273
-
Open the browser and enter chrome://version/ in the address bar to see the current version number of Google
-
Then we came to the download URL of Google Chrome Driver http://chromedriver.storage.googleapis.com/index.html
-
Then we just need to choose a different zip download according to the operating system! After
downloading, we unzip it and it is chromedriver.exe -
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 -
The other is in the directory where your python is installed: D:\python3.7.3