CentOS 7中的chrome驱动程序报告错误

时间:2017-09-22 05:06:19

标签: linux selenium-chromedriver

我在CentOS 7中安装了chrome驱动程序:

yum install nodejs
npm install chromedriver

安装路径:

/root/node_modules/chromedriver/lib/chromedriver

我跑的时候:

[root@localhost chromedriver]# ./chromedriver
./chromedriver: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

2 个答案:

答案 0 :(得分:3)

您可以安装并检查

sudo apt-get install libxi6 libgconf-2-4

答案 1 :(得分:3)

yum install google-chrome-stable

这解决了我的要求

相关问题