Installed Watir-Webdriver. But no use. C:\Ruby187>gem install watir-webdriver Fetching: json_pure-1.5.3.gem (100%) Fetching: rubyzip-0.9.4.gem (100%) Fetching: childprocess-0.1.9.gem (100%) Fetching: selenium-webdriver-0.2.2.gem (100%) Fetching: watir-webdriver-0.2.5.gem (100%) Successfully installed json_pure-1.5.3 Successfully installed rubyzip-0.9.4 Successfully installed childprocess-0.1.9 Successfully installed selenium-webdriver-0.2.2 Successfully installed watir-webdriver-0.2.5 5 gems installed Installing ri documentation for json_pure-1.5.3... Installing ri documentation for rubyzip-0.9.4... Installing ri documentation for childprocess-0.1.9... Installing ri documentation for selenium-webdriver-0.2.2... Installing ri documentation for watir-webdriver-0.2.5... Installing RDoc documentation for json_pure-1.5.3... Installing RDoc documentation for rubyzip-0.9.4... Installing RDoc documentation for childprocess-0.1.9... Installing RDoc documentation for selenium-webdriver-0.2.2... Installing RDoc documentation for watir-webdriver-0.2.5...
C:\Ruby187> But executing the script, still facing the same issue. Ruby187/lib/ruby/gems/1.8/gems/firewatir-1.9.1/lib/firewatir/ jssh_socket.rb:19:in `js_eval': this.docShell is null (JsshSocket::JSTypeError) from C:/Ruby187/lib/ruby/gems/1.8/gems/firewatir-1.9.1/lib/firewatir/ firefox.rb:194:in `set_browser_document' from C:/Ruby187/lib/ruby/gems/1.8/gems/firewatir-1.9.1/lib/firewatir/ firefox.rb:45:in `initialize' from C:/Ruby187/lib/ruby/gems/1.8/gems/commonwatir-1.9.1/lib/watir/ browser.rb:65:in `new' from C:/Ruby187/lib/ruby/gems/1.8/gems/commonwatir-1.9.1/lib/watir/ browser.rb:65:in `new' On Jul 7, 5:46 pm, Amit Bobade <amit.sr...@gmail.com> wrote: > hi, > > I encountered this problem long before. I tried so hard to overcome this > problem. > The solution is - use Watir-webdriver and change your script accordingly. > > To install Watir-webdriver use following command: > > "gem install watir-webdriver" > > Let me know if any problem. > > Thanks, > -Amit > > > > On Thu, Jul 7, 2011 at 6:06 PM, V <vaditya2...@gmail.com> wrote: > > Facing the same issue. Again Ruby version 1.8.7 watir 1.9.1. Windows. > > Facing the /Ruby187/lib/ruby/gems/1.8/gems/firewatir-1.9.1/lib/ > > firewatir/jssh_socket.rb:19:in `js_eval': this.docShell is null > > (JsshSocket::JSTypeError) issue. Please help me in this asap > > > On Jun 27, 10:34 pm, Abe Heward <abe.hew...@gmail.com> wrote: > > > Tried updating to Ruby 1.9.2 and Watir 1.9.0 today. Immediately ran into > > > this same problem again when I tried to run a test script with Firefox. > > > Firefox doesn't want to open. > > > -- > > Before posting, please readhttp://watir.com/support. In short: search > > before you ask, be nice. > > > watir-general@googlegroups.com > >http://groups.google.com/group/watir-general > > watir-general+unsubscr...@googlegroups.com > > -- > Thanks and Regards, > Amit -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com