I have another issue. After I type the /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh,then I can use the irb to open the firefox.After I quit the irb and start the new irb again.I also get the error.
So before I want to use the irb to open the firefox each time,I have to type the /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh Any idea to resolve this issue? Thanks! *** See the following: $ /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh FoxyProxy settingsDir: /Users/tank/Library/Application Support/Firefox/Profiles/92qg04dg.default/foxyproxy.xml $ irb irb(main):001:0> require "rubygems" => true irb(main):002:0> require "firewatir" => true irb(main):003:0> ff=FireWatir::Firefox.new FoxyProxy settingsDir: /Users/tank/Library/Application Support/Firefox/Profiles/92qg04dg.default/foxyproxy.xml => #<FireWatir::Firefox:0x1a34890 url="" title="Problem loading page"> irb(main):004:0> quit $ irb irb(main):001:0> require "rubygems" => true irb(main):002:0> require "firewatir" => true irb(main):003:0> ff=FireWatir::Firefox.new RuntimeError: Firefox is running without -jssh from /usr/local/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb:125:in `initialize' from (irb):3:in `new' from (irb):3 On Thu, Apr 8, 2010 at 2:40 AM, John Williams <jwil...@gmail.com> wrote: > I'm having the same problem as Yuping with slightly different > versions, but opening Firefox using the "...firefox-bin -jssh" command > suggested above does not fix my issue. I'm running slightly older > versions: > > Mac OS X 10.5.8 > Firefox 3.5.9 > jssh-3.5.x-Darwin-param.xpi > > I too get the "RuntimeError: Firefox is running without -jssh" error > and port 9997 does not appear to be opening. Do I need Mac OS X 10.6 > in order to open Firefox with arguments? > > Any suggestions? > Cheers, > John > > > On Apr 6, 10:05 pm, Moises Siles <moises.si...@gmail.com> wrote: > > cool, someone else help me in the same way days ago! thank you to this > group > > :) > > > > On Tue, Apr 6, 2010 at 10:57 PM, Yuping Zhong <littlezhong...@gmail.com > >wrote: > > > > > > > > > Great! > > > That works fine! Thanks Moises! > > > > > On Wed, Apr 7, 2010 at 12:01 PM, Moises Siles <moises.si...@gmail.com > >wrote: > > > > >> are u starting firefox in the following way > > > > >> Start Firefox with jssh > > >> /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh > > > > >> hope that helps > > > > >> On Tue, Apr 6, 2010 at 9:47 PM, Eric Mathiesen <mathiese...@gmail.com > >wrote: > > > > >>> Your system administrator should, it's specific to the environment. > > > > >>> On Tue, Apr 6, 2010 at 8:35 PM, Yuping Zhong < > littlezhong...@gmail.com>wrote: > > > > >>>> Can you tell me what is the correct network settings??? > > > > >>>> On Wed, Apr 7, 2010 at 11:31 AM, Eric Mathiesen < > mathiese...@gmail.com>wrote: > > > > >>>>> That's a connection error on your local loopback. Check your > network > > >>>>> settings. > > > > >>>>> On Tue, Apr 6, 2010 at 8:28 PM, Yuping Zhong < > littlezhong...@gmail.com > > >>>>> > wrote: > > > > >>>>>> What is more, I run "telnet localhost 9997" and get the following: > > > > >>>>>> $ telnet localhost 9997 > > >>>>>> Trying ::1... > > >>>>>> telnet: connect to address ::1: Connection refused > > >>>>>> Trying 127.0.0.1... > > >>>>>> telnet: connect to address 127.0.0.1: Connection refused > > >>>>>> telnet: Unable to connect to remote host > > > > >>>>>> On Wed, Apr 7, 2010 at 11:23 AM, Yuping Zhong < > > >>>>>> littlezhong...@gmail.com> wrote: > > > > >>>>>>> Thank Angrez's reply.But I still get the following issue: > > > > >>>>>>> irb(main):001:0> require "rubygems" > > >>>>>>> => true > > >>>>>>> irb(main):002:0> require "firewatir" > > >>>>>>> => true > > >>>>>>> irb(main):003:0> ff=FireWatir::Firefox.new > > >>>>>>> RuntimeError: Firefox is running without -jssh > > >>>>>>> from > > >>>>>>> > /usr/local/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb: > 125:in > > >>>>>>> `initialize' > > >>>>>>> from (irb):3:in `new' > > >>>>>>> from (irb):3 > > > > >>>>>>> I do as above in Windows,it is fine.But it is fail in Mac. > > > > >>>>>>> Bt the way,here is my Mac OS and firefox version: > > >>>>>>> Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; > rv:1.9.2.3) > > >>>>>>> Gecko/20100401 Firefox/3.6.3 > > > > >>>>>>> Anyone who uses the firewatir in Mac OS 10.6 can give a help? > > > > >>>>>>> Thanks in advance! > > > > >>>>>>> On Tue, Apr 6, 2010 at 7:16 PM, Angrez Singh <ang...@gmail.com > >wrote: > > > > >>>>>>>> Please follow the instructions here for using FireWatir: > > >>>>>>>> > http://wiki.openqa.org/display/WTR/FireWatir#FireWatir-Installation > > > > >>>>>>>> On Tue, Apr 6, 2010 at 3:13 PM, Yuping Zhong < > > >>>>>>>> littlezhong...@gmail.com> wrote: > > > > >>>>>>>>> Dear All, > > > > >>>>>>>>> I already install the firewatir and jssh-3.6-OSX. But it is > fail to > > >>>>>>>>> use the firefox in Mac.It display the strange error: > > >>>>>>>>> RuntimeError: Firefox is running without -jssh > > > > >>>>>>>>> But I already install the jssh. > > > > >>>>>>>>> ==== > > > > >>>>>>>>> Here the steps: > > > > >>>>>>>>> irb(main):001:0> require "rubygems" > > >>>>>>>>> => true > > >>>>>>>>> irb(main):002:0> require "firewatir" > > >>>>>>>>> => true > > >>>>>>>>> irb(main):003:0> Watir::Browser.default = "firefox" > > >>>>>>>>> => "firefox" > > >>>>>>>>> irb(main):004:0> ff = Watir::Browser.start(" > http://www.google.com > > >>>>>>>>> ") > > >>>>>>>>> RuntimeError: Firefox is running without -jssh > > >>>>>>>>> from > > >>>>>>>>> > /usr/local/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb: > 125:in > > >>>>>>>>> `initialize' > > >>>>>>>>> from > > >>>>>>>>> > /usr/local/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb: > 163:in > > >>>>>>>>> `new' > > >>>>>>>>> from > > >>>>>>>>> > /usr/local/lib/ruby/gems/1.8/gems/firewatir-1.6.5/lib/firewatir/firefox.rb: > 163:in > > >>>>>>>>> `start' > > >>>>>>>>> from > > >>>>>>>>> > /usr/local/lib/ruby/gems/1.8/gems/commonwatir-1.6.5/lib/watir/browser.rb:71 > :in > > >>>>>>>>> `start' > > > > >>>>>>>>> Any idea? > > > > >>>>>>>>> Thanks! > > > > >>>>>>>>> -Zhong > > > > >>>>>>>>> -- > > >>>>>>>>> Before posting, please readhttp://watir.com/support. In short: > > >>>>>>>>> search before you ask, be nice. > > > > >>>>>>>>> You received this message because you are subscribed to > > >>>>>>>>>http://groups.google.com/group/watir-general > > >>>>>>>>> To post: watir-general@googlegroups.com > > > > >>>>>>>> -- > > >>>>>>>> Before posting, please readhttp://watir.com/support. In short: > > >>>>>>>> search before you ask, be nice. > > > > >>>>>>>> You received this message because you are subscribed to > > >>>>>>>>http://groups.google.com/group/watir-general > > >>>>>>>> To post: watir-general@googlegroups.com > > > > >>>>>> -- > > >>>>>> Before posting, please readhttp://watir.com/support. In short: > > >>>>>> search before you ask, be nice. > > > > >>>>>> You received this message because you are subscribed to > > >>>>>>http://groups.google.com/group/watir-general > > >>>>>> To post: watir-general@googlegroups.com > > > > >>>>> -- > > >>>>> Before posting, please readhttp://watir.com/support. In short: > search > > >>>>> before you ask, be nice. > > > > >>>>> You received this message because you are subscribed to > > >>>>>http://groups.google.com/group/watir-general > > >>>>> To post: watir-general@googlegroups.com > > > > >>>> -- > > >>>> Before posting, please readhttp://watir.com/support. In short: > search > > >>>> before you ask, be nice. > > > > >>>> You received this message because you are subscribed to > > >>>>http://groups.google.com/group/watir-general > > >>>> To post: watir-general@googlegroups.com > > > > >>> -- > > >>> Before posting, please readhttp://watir.com/support. In short: > search > > >>> before you ask, be nice. > > > > >>> You received this message because you are subscribed to > > >>>http://groups.google.com/group/watir-general > > >>> To post: watir-general@googlegroups.com > > > > >> -- > > >> Before posting, please readhttp://watir.com/support. In short: search > > >> before you ask, be nice. > > > > >> You received this message because you are subscribed to > > >>http://groups.google.com/group/watir-general > > >> To post: watir-general@googlegroups.com > > > > > -- > > > Before posting, please readhttp://watir.com/support. In short: search > > > before you ask, be nice. > > > > > You received this message because you are subscribed to > > >http://groups.google.com/group/watir-general > > > To post: watir-general@googlegroups.com > > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > You received this message because you are subscribed to > http://groups.google.com/group/watir-general > To post: watir-general@googlegroups.com > > To unsubscribe, reply using "remove me" as the subject. > -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. You received this message because you are subscribed to http://groups.google.com/group/watir-general To post: watir-general@googlegroups.com