geb.driver.DriverCreationException:无法从回调创建驱动程序

我正在设置一些Geb测试,我得到“geb.driver.DriverCreationException:无法从回调创建驱动程序”错误。 Geb将尝试启动测试浏览器窗口,但一旦它启动,我的测试都没有运行,我得到上述错误。

我刚刚对Firefox 32.0.2进行了自动Firefox更新,所以我怀疑新版本和Selenium Web Driver不再玩得很好了吗? 我该如何解决这个问题?

这是我一直在使用的Geb.config文件? 我没有改变它约5个月,它一直工作到现在…

import org.openqa.selenium.firefox.FirefoxDriver import geb.waiting.WaitingSupport reportsDir = "target/geb-reports" driver = { //path is specific to each machine. This is the path to firefox.exe def pathToBin = 'C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe' System.setProperty("webdriver.firefox.bin",pathToBin) def driverInstance = new FirefoxDriver(); driverInstance.manage().window().maximize() driverInstance } 

这确实是我的想法。 将jar依赖项升级到Selenium 2.43.1并且工作正常。 之前使用的是2.42.2