在Selenium对新版本Firefox浏览器的支持,就需要用到了GeckoDriver。首先要启动GeckoDriver,然后使用remote的方式来连接。
支持的Firefox版本范围:50.1.0
geckodriver.exe -b "D:\Program Files (x86)\Mozilla Firefox\firefox.exe"
https://github.com/mozilla/geckodriver查看原文:
http://surenpi.com/2016/12/20/geckodriver/