摘要: 下载对应版本的chromedriver.exe: http://chromedriver.storage.googleapis.com/index.html 下载后将chromedriver.exe放到python安装目录或其下的Scripts目录下,就可以正常调用。 driver.close()和 阅读全文
posted @ 2019-07-20 18:42 安静的披风 阅读(6002) 评论(0) 推荐(0)
摘要: 本来按书上写的使用PhantomJS,不过我安装的selenium版本现在不支持PhantomJS,需要对安装selenium低版本或使用selenium+火狐或谷歌浏览器两种方法来解决问题。 Selenium+PhantomJS使用时报错原因及解决方案 https://blog.csdn.net/ 阅读全文
posted @ 2019-07-20 15:59 安静的披风 阅读(308) 评论(0) 推荐(0)