因为Chrome总会自动更新,会导致写的爬虫代码因为更新而报错说驱动版本不匹配,每次都会重新搜索教程,搜索地址,下载新版,特此总结一下下载驱动的方法,以及就是查询Chrome版本的方式:
方式一:官网直接下载(需要梯子)
ChromeDriver - WebDriver for Chrome
方式二:点击直达链接:
老版:http://chromedriver.storage.googleapis.com/index.html
新版(现在是114之后):Chrome for Testing availability
很苦恼为什么Chrome要很快更新一次,想要暂停更新,操作方法感觉也有点麻烦,哎