问题描述
我是ROR的新手。我使用Ruby 1.9.2p290,rvm 1.10.2,chromedriver version = 18.0.995.0。
当我通过execute命令运行黄瓜测试:
bundle exec cucumber features / mytest.feature
我收到错误讯息,如下所示:
(::)失败的步骤(::)
代理必须是类型字典, Received:null
(Selenium :: WebDriver :: Error :: WebDriverError)
似乎此错误发生在chromedriver版本18之后。
(irb screenshot:)
要获得有效的版本检查
I am new to ROR. I am using Ruby 1.9.2p290, rvm 1.10.2, chromedriver version=18.0.995.0.
When I run the cucumber test by execute command:
bundle exec cucumber features/mytest.feature
I got the error message which is showing below:
(::) failed steps (::)
proxy must be of type dictionary, not null. Received: null
(Selenium::WebDriver::Error::WebDriverError)
It seems that this error occurs since chromedriver version 18.
(irb screenshot: http://www.pastie.org/pastes/3199163)
To get a working version checkout https://github.com/flavorjones/chromedriver-helper
这篇关于黄瓜错误,当我运行我的黄瓜测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!