当我使用 Selenium 运行测试时,我的一步失败,页面在浏览器中如下所示:
Internal Server Error
can't convert nil into String
WEBrick/1.3.1 (Ruby/1.9.2/2010-08-18) at 127.0.0.1:50752
当我用 culerity 运行它时,我得到了输出:
Broken pipe (Errno::EPIPE)
/Users/yuval/.rvm/gems/ruby-1.9.2-p0/gems/culerity-0.2.15/lib/culerity/remote_object_proxy.rb:47:in `write'
etc...
当我在没有 js 驱动程序的情况下运行它时,它根本不会失败(相反,它在使用 js 时会失败,这就是我尝试使用 js 驱动程序运行它的原因)。
有任何想法吗?