0

回帰uiteを実行しているときに私が受け取り続けるエラー、誰かがこれにいくつかの光を当てることができますか?それは私を夢中にさせています。

ターゲットマシンが積極的に拒否したため、接続できませんでした。--connect(2)(Errno :: ECONNREFUSED)C:/Ruby187/lib/ruby/1.8/net/http.rb:560:in initialize' C:/Ruby187/lib/ruby/1.8/net/http.rb:560:inopen'C:/Ruby187/lib/ruby/1.8/net/http.rb: 560:in connect' C:/Ruby187/lib/ruby/1.8/timeout.rb:53:intimeout'C:/Ruby187/lib/ruby/1.8/timeout.rb:101:in timeout' C:/Ruby187/lib/ruby/1.8/net/http.rb:560:inconnect' C:/Ruby187/lib/ruby/1.8/net/http.rb:553:in start'C:do_start' C:/Ruby187/lib/ruby/1.8/net/http.rb:542:in/ Ruby187 / lib / ruby​​ / 1.8 / net / http.rb:1035:in request' C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.22.2/lib/selenium/webdriver/remote/http/default.rb:76:in response_for'C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.22.2/lib/selenium/webdriver/remote/ http / default.rb:38:in request' C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.22.2/lib/selenium/webdriver/remote/http/common.rb:40:in call'C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.22.2/lib/selenium/webdriver/remote/bridge.rb:598:in raw_execute' C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.22.2/lib/selenium/webdriver/remote/bridge.rb:576:in execute 'C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.22.2/lib/selenium/webdriver/remote/bridge.rb:189:in quit' C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.22.2/lib/selenium/webdriver/firefox/bridge.rb:43:in 終了'C:/Ruby187/lib/ruby/gems/1.8/gems/selenium-webdriver-2.22.2/lib/selenium/webdriver/common/driver.rb:166:in quit' C:/Ruby187/lib/ruby/gems/1.8/gems/watir-webdriver-0.6.1/lib/watir-webdriver/browser.rb:87:in close'

4

1 に答える 1

1

Firefox 13 には が必要selenium-webdriver >= 2.23.0です。それを更新すると、正しく動作します。

于 2012-06-25T01:59:58.810 に答える