2
~/selenium-test$ which geckodriver
/cygdrive/c/Windows/geckodriver
~/selenium-test$ geckodriver --version | head -n1
geckodriver 0.11.1
~/selenium-test$ python -i
Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:24:40) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from selenium import webdriver
>>> driver = webdriver.Firefox()
它加载Firefox但在该调用后永不返回。实例化驱动程序后无法运行任何其他Python语句。 Windows上的Firefox版本56.0.1(64位)。Selenium webdriver.Firefox()永不返回
根据[硒博客](https://seleniumhq.wordpress.com/2017/08/09/firefox-55-and-selenium-ide/),他们已经停止支持firefox 55+,所以切换到其他浏览器。 – TheChetan