使用硒驱动程序的摩卡超时

时间:2014-07-29 19:12:57

标签: selenium-webdriver mocha

我正在尝试使用selenium-driver启动我的mocha测试,但我收到此错误:https://gist.github.com/Clemzd/f7bbaa77c492ee288765#file-gistfile1-txt

我的selenium-server启动良好,因为我能够运行chrome会话。 以下是我用于启动我的mocha测试的代码:https://github.com/Clemzd/paige-tests

我试图增加mocha的超时时间,但它不会改变任何内容。

1 个答案:

答案 0 :(得分:6)

selenium-webdriver/testing似乎很难将mocha版本高于1.20。您可以通过将package.json中的mocha依赖项更改为以下内容来消除此错误:

mocha: "~1.20.1"