Skip to content Skip to sidebar Skip to footer

Chromedriver Not Working On Python Selenium

I wrote a Selenium script in python and wrote an installer for in bash so that I could use that script on another machine (all Macs with the current OSX). Here is the relevant stuf

Solution 1:

Figured it out myself after eliminating the try-except block that was hiding the real traceback.

Chromedriver needs the file /etc/hosts to contain 127.0.0.1 localhost in order to execute properly.

With sudo echo "127.0.0.1 localhost" >> /etc/hosts, this can be done easily from the terminal.

Answer found here.

Post a Comment for "Chromedriver Not Working On Python Selenium"