Running selenium in c9

空扰寡人 提交于 2019-12-05 12:24:41

I encountered the same issue and ran chromedriver --version gave me the exact error.

chromedriver: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

So the problem for me is the missing libraries (that chromedriver requires). So I installed those libraries and fixed the issue:

sudo yum install libX11 Gconf2 fontconfig

I resolved this on Ubuntu 16.04 with the following:

$ sudo apt install libgconf-2-4

I had the same issue but it was with the 32 bit version. Fixed it using the 64 bit version.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!