Splinter Selenium Phantomjs Driver failing on instantiation Splinter Selenium Phantomjs Driver failing on instantiation selenium selenium

Splinter Selenium Phantomjs Driver failing on instantiation


Just want to share that phantomjs + splinter work nicely with the following configuration on my machine:

~ $ python --versionPython 2.7.11~ $ pip show splinter | grep VersionMetadata-Version: 1.1Version: 0.7.3~ $ pip show selenium | grep VersionMetadata-Version: 2.0Version: 2.47.3~ $ phantomjs -v2.0.0~ $ sw_versProductName:    Mac OS XProductVersion: 10.11BuildVersion:   15A284


I have same error. Then I check my /etc/hosts and delete unnecessary localhost alias. And all work.Check your /etc/hosts