SyntaxFix
Write A Post
Hire A Developer
Questions
If using Anaconda, install with:
conda install PhantomJS
in your script:
from selenium import webdriver driver=webdriver.PhantomJS()
works perfectly.