centos 安装Selenium+Chrome

参照https://cuiqingcai.com/4886.html

去这个地方:https://sites.google.com/a/chromium.org/chromedriver/downloads 下载ChromeDriver驱动放在/usr/bin/目录下:

完成结果如下:

安装XVFB:

新建在/usr/bin/ 一个名叫 xvfb-chromium 的文件写入以下内容:

更改软连接:

原文地址:https://www.cnblogs.com/Robertzewen/p/9530216.html