華為云計(jì)算 云知識(shí) 如何配置chromedriver
如何配置chromedriver

chromedriver的 鏡像 地址為:https://repo.huaweicloud.com/chromedriver/,手動(dòng)下載請(qǐng)?jiān)L問(wèn)該地址。請(qǐng)根據(jù)您的需要選擇性安裝。

使用npm安裝

npm config set chromedriver_cdnurl https://repo.huaweicloud.com/chromedriver/
npm install chromedriver

相關(guān)網(wǎng)址

Chromedriver官方地址:https://sites.google.com/a/chromium.org/chromedriver/

NPM官方地址:https://www.npmjs.com