Your issue is likely due to the line that reads: "RuntimeError: Firefox is running without -jssh"
In order to start jssh listening on port 9997, Firefox must be run from the Terminal command line as follows: /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh You should then be able to do "telnet localhost 9997" from another Terminal window. You'll know it's successful if you see a prompt that looks something like: Welcome to the Mozilla JavaScript Shell! > Hope this helps. On Feb 6, 1:41 pm, Moises Siles <moises.si...@gmail.com> wrote: > Well, now I'm using firefox 3.5, also I downloaded the jssh firefox plugin > and I ran the following test > > require "watir" > url = "www.google.com" > ie = Watir::Browser.new > ie.goto url > ie.text_field(:name, "q").set "showmedo.com" > ie.button(:name, "btnG").click > > but after that I'm getting the following error related to the jssh > > >> require "watir" > => true > > ?> url = "www.google.com" > => "www.google.com" > > ?> ie = Watir::Browser.new > RuntimeError: Firefox is running without -jssh > from > /Library/Ruby/Gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb:125:in > `initialize' > from > /Library/Ruby/Gems/1.8/gems/commonwatir-1.6.5/lib/watir/browser.rb:65:in > `new' > from > /Library/Ruby/Gems/1.8/gems/commonwatir-1.6.5/lib/watir/browser.rb:65:in > `new' > from simple-search.rb:5 > > ?> ie.goto url > NoMethodError: undefined method `goto' for nil:NilClass > from simple-search.rb:7 > > ?> ie.text_field(:name, "q").set "showmedo.com" > NoMethodError: undefined method `text_field' for nil:NilClass > from simple-search.rb:9 > > ?> ie.button(:name, "btnG").click > NoMethodError: undefined method `button' for nil:NilClass > from simple-search.rb:11 > > > > any ideas about it, > > Thanks in advance > > On Sat, Feb 6, 2010 at 1:52 AM, Alister Scott <alister.sc...@gmail.com>wrote: > > > Hi, > > > You can use Firefox 3.5 until someone compiles the JSSH add-on for > > OSX. > > Alternatively you can take a look at SafariWatir: > >http://github.com/redsquirrel/safariwatir > > > Cheers, > > > Alister Scott > > > -- > > You received this message because you are subscribed to the Google Groups > > "Watir General" group. > > To post to this group, send email to watir-general@googlegroups.com > > Before posting, please read the following guidelines: > >http://wiki.openqa.org/display/WTR/Support > > To unsubscribe from this group, send email to > > watir-general+unsubscr...@googlegroups.com<watir-general%2bunsubscr...@googlegroups.com> > > For more options, visit this group at > >http://groups.google.com/group/watir-general > > -- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to watir-general@googlegroups.com Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to watir-general+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/watir-general