@rpai/chromedriver
v1.0.3
Published
chromedriver and chrome-for-test download
Downloads
123
Readme
@rpai/chromedriver
download chromedriver and chrome for test
install
npm install @rpai/chromedriver
ENV
# 跳过下载驱动,默认 ''
CHROMEDRIVER_SKIP_DOWNLOAD=true
# 指定下载版本,默认 '114.0.5735.90'
CHROMEDRIVER_VERSION=128.0.6613.119
# 驱动存放目录,默认,process.cwd() + 'chromedriver'
CHROMEDRIVER_DIR=chromedriver
# chrome for test and chromedriver(ersion >=115 ) 代理地址,默认阿里云
CHROMEDRIVER_MIRROR=https://npmmirror.com/mirrors/chrome-for-testing
# version <115 chromedriver 代理地址,默认阿里云
CHROMEDRIVER_LEGACY_MIRROR=https://npmmirror.com/mirrors/chromedriver
# 是否下载chrome for test,默认 ''
CHROME_BINARY_DOWNLOAD=true
# 使用系统安装的chrome版本号,默认 ''
DETECT_CHROMEDRIVER_VERSION=true