install selenium,chrome,ChromeDriver on Aliyun CentOS ECS

  1. install selenium 

yum install selenium

2. install chrome  

yum install epel-release
yum install https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm

3.install ChromeDriver 

  3.1 check chrome version  

google-chrome-stable --version
Google Chrome 102.0.5005.115

  3.2 download the ChromeDriver match the chrome and install it 

   go to the taobao mirror page https://npm.taobao.org/mirrors/chromedriver/

wget 

unzip chromedirver_linux64.zip  

mv chromedriver /usr/bin/

chmod 777 /usr/bin/chromedriver

3.3 check ChromeDriver  Version

chromedriver -v


Adam博客
请先登录后发表评论
  • 最新评论
  • 总共0条评论
  • Powered by bjyblog modified by Adam © 2014-2022 www.lixiaopeng.com 版权所有 ICP证:鲁ICP备15039297号
  • 联系邮箱:14846869@qq.com