Selenium Python Headless Webdriver (PhantomJS) Not Working Selenium Python Headless Webdriver (PhantomJS) Not Working selenium selenium

Selenium Python Headless Webdriver (PhantomJS) Not Working


I had the same problem as you with the same errors. I have tried to install it on openSuse Server. I ended up installing PhantomJS form source -unfortunately without any success. The way that worked for me was installing Phantomjs via npm

sudo npm install -g phantomjs


So installing phantomjs through the package manager seemed to fix it...

sudo apt-get install phantomjs

Anyway hopefully the process above helps other people who have the same issue.