linux(centos7)安装chrome并查看版本号并下载chrome驱动
1.首先下载依赖
yum install mesa-libOSMesa-devel gnu-free-sans-fonts wqy-zenhei-fonts
2.然后下载安装chrome
yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm
3. yum install ./google-chrome-stable_current_x86_64.rpm
4.查看chrome版本号
google-chrome --version
根据版本号下载对应的驱动,放在/usr/bin目录下
http://npm.taobao.org/mirrors/chromedriver/