繁体   English   中英

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

[英]chrome driver reporting error in CentOS 7

我已通过以下方式在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

您可以安装并检查

sudo apt-get install libxi6 libgconf-2-4
yum install google-chrome-stable

这解决了我的要求

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM