b站学习视频:https://www.bilibili.com/video/BV1Z4411o7TA/?diver的历史版本 :https://chromedriver.storage.googleapis.com/index.html。下载后解压有一个chromediver.exe的文件,把它复制到chrome.exe所在的目录下。参考文档:https://www.byhy.net/auto/selenium/01/把上面的代码复制进去后,把后缀名改为.bat然后双击运行。当前目录会出现一个这个文件。