Note: PhantomJS runs in PyCharm, but not IDLE
I have successfully used PhantomJS in Python in the past, but I don’t know what to do to return to this setting.
I get this error in Python (2.7.11): selenium.common.exceptions.WebDriverException: Message: phantomjs executable must be in PATH.
I tried the "symlink" phantomjs on the path (usr / local / bin [, which is also in the path]), and even manually find / usr / local / bin to put phantomjs in the bin folder. However, in python, there is still a path error.
What am I missing?
source
share