爬蟲使用selenium下載完chromedriver後,還要另外再安裝chrome瀏覽器才能運行嗎? selenium操控chromedriver 最後chromedriver操控chrome
控selenium
selenium操控chromedriver
最後chromedriver操控chrome
是的,需要安裝 Chrome 瀏覽器。
而且你的 ChromeDriver 版本和 Chrome 瀏覽器版本必須對應。ChromeDriver 和 Chrome 瀏覽器下載地址如下:
https://sites.google.com/a/chromium.org/chromedriver/
https://www.google.com/chrome/browser/index.html
如果以上地址無法訪問,ChromeDriver 有國內鏡像,Chrome 瀏覽器也有網盤分享:
https://npm.taobao.org/mirrors/chromedriver/
https://www.lanzous.com/b138066
# https://pan.baidu.com/s/17kAAVdtw_bGkv1ZHHvQuOg
# 提取碼:7e08