linux 安装nogui-chrome,构造selenium运行环境

时间:2020-03-11 15:06:27   收藏:0   阅读:66
#https://chromedriver.storage.googleapis.com/index.html 查看chromedriver的版本
wget https://chromedriver.storage.googleapis.com/index.html?path=80.0.3987.106/ 



[root@localhost ~]#  vi /ect/yum.repos.d/google-chrome.repo

#repo内容编辑如下:
[google-chrome]
name=google-chrome
baseurl=http://dl.google.com/linux/chrome/rpm/stable/$basearch
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub


#安装
yum -y install google-chrome-stable --nogpgcheck
#查看
google-chrome --version


  

参考:https://www.cnblogs.com/qiaoliming/p/chrome.html

 

原文:https://www.cnblogs.com/zhizhiyin/p/12459032.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!