Linux 将Webdriver与Chrome一起使用--缺少共享库
我正在尝试运行webdriver,但不断出现以下错误:Linux 将Webdriver与Chrome一起使用--缺少共享库,linux,google-chrome,selenium,amazon-ec2,Linux,Google Chrome,Selenium,Amazon Ec2,我正在尝试运行webdriver,但不断出现以下错误: [ec2-user@ip-172-30-0-41 ~]$ sudo ./chromedriver ./chromedriver: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory 是否有办法yum删除缺少的依赖项?或者这里的问题是什么?这是使用亚马逊Linux
[ec2-user@ip-172-30-0-41 ~]$ sudo ./chromedriver
./chromedriver: error while loading shared libraries:
libgconf-2.so.4: cannot open shared object file: No such file or directory
是否有办法
yum
删除缺少的依赖项?或者这里的问题是什么?这是使用亚马逊Linux AMI 2014.09.1(HVM)发行版。chrome驱动程序无法自行运行。您只能通过代码运行它