Testing Watir on Firefox throws JsshSocket::JSReferenceError
Posted
by picardo
on Stack Overflow
See other posts from Stack Overflow
or by picardo
Published on 2010-04-04T12:19:55Z
Indexed on
2010/04/04
12:23 UTC
Read the original article
Hit count: 441
I am using Watir on Windows and when my script tries to run on Firefox, I see this error on my console:
JsshSocket::JSReferenceError: Components is not definedReferenceError: Components is not defined
C:/xampp/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/jssh_socket.rb:12:in `js_eval'
C:/xampp/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb:195:in `goto'
C:/xampp/Ruby/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb:164:in `start'
C:/xampp/Ruby/lib/ruby/gems/1.8/gems/commonwatir-1.6.5/lib/watir/browser.rb:71:in `start'
./test.rb:12:in `test_prepare'
Does this happen to anyone else? What can I do to fix it?
© Stack Overflow or respective owner