Brionius made agreat observation. I didn't notice the second equal sign
Did A test with fresh anaconda env.
I got the same error until I installed phantomjs. Up until that point it looks like python just things driver is a string variable, not something special that has a get method.
if you're not using anaconda here is a like to phantoms page