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 的文件写入以下内容:

更改软连接:

posted @ 2018-10-07 13:12  临江尘  阅读(2361)  评论(1编辑  收藏  举报