美文网首页
centos 运行java+selenium+chrome+ch

centos 运行java+selenium+chrome+ch

作者: 卫泽洪_70a7 | 来源:发表于2022-12-02 09:46 被阅读0次

安装chrome

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

安装Xvfb

yum update

yum install Xvfb

yum install libXfont

yum install xorg-x11-fonts*

安装chromedriver

wget http://chromedriver.storage.googleapis.com/108.0.5359.71/chromedriver_linux64.zip

解压、移动到/usr/bin、修改权限

unzip chromedriver_linux64.zip 
mv chromedriver /usr/bin
chomod +x /usr/bin/chromedriver 

https://blog.csdn.net/s_frozen/article/details/126055455

相关文章

网友评论

      本文标题:centos 运行java+selenium+chrome+ch

      本文链接:https://www.haomeiwen.com/subject/pgjefdtx.html