Hello,

The "Contents" folder is actually a special, hidden container for
application-specific resources. Apple formally calls it an application
"bundle" or "package". If you right-click on any application, choose
"Show Package Contents" to see the Contents folder in the Finder.
Firefox should be in your Applications folder, and the icon on your
Desktop is probably an alias, so I don't think you need to move it.
If, however, the Firefox application is indeed on your desktop, then
you'll have to change the path when you launch it from Terminal.

Cheers,
John

On Apr 8, 10:15 am, chatur vidur <[email protected]> wrote:
> Hi I had a similar problem, but i want to know
> /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh
> what is this "contents" where do i get it from? i have firefox- bin- jssh
> Btw, I have a mac os x 10.4.11
> firefox 3.6
>  firefox- bin- jssh is on my desktop should i move it else where?
>
>
>
> On Thu, Apr 8, 2010 at 10:30 PM, John Williams <[email protected]> wrote:
> > Thank you Zhong. After I open Firefox with:
>
> > /Applications/Firefox.app/Contents/MacOS/firefox-bin -jssh
>
> > I still get errors trying to use jssh. I believe there is a difference
> > between Mac OS X 10.5 and 10.6 in how they allow arguments such as -
> > jssh. For example, when I try to telnet to the port:
>
> > $ telnet localhost 9997
> > Trying ::1...
> > telnet: connect to address ::1: Connection refused
> > Trying fe80::1...
> > telnet: connect to address fe80::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
>
> > When you open Firefox from Terminal, do you have to open a new window
> > in Terminal for any additional commands? I do. When I open Firefox
> > with the command above, the Terminal window I am in freezes up until I
> > quit Firefox. I have never opened applications from Terminal before,
> > so I am not sure if this is a normal response?
>
> > Thanks,
> > John
>
> > On Apr 7, 8:28 pm, Yuping Zhong <[email protected]> wrote:
> > > John,
>
> > > Do you try the /Applications/Firefox.app/Contents/MacOS/firefox-bin
> > -jssh?
>
> > >  Does it work?
>
> > > On Thu, Apr 8, 2010 at 11:27 AM, Yuping Zhong <[email protected]
> > >wrote:
>
> > > > 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 <[email protected]>
> > 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 <[email protected]> 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 <
> > [email protected]
> > > >> >wrote:
>
> > > >> > > Great!
> > > >> > > That works fine! Thanks Moises!
>
> > > >> > > On Wed, Apr 7, 2010 at 12:01 PM, Moises Siles <
> > [email protected]
> > > >> >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 <
> > > >> [email protected]>wrote:
>
> > > >> > >>> Your system administrator should, it's specific to the
> > environment.
>
> > > >> > >>> On Tue, Apr 6, 2010 at 8:35 PM, Yuping Zhong <
> > > >> [email protected]>wrote:
>
> > > >> > >>>> Can you tell me what is the correct network settings???
>
> > > >> > >>>> On Wed, Apr 7, 2010 at 11:31 AM, Eric Mathiesen <
> > > >> [email protected]>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 <
> > > >> [email protected]
> > > >> > >>>>> > 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 <
> > > >> > >>>>>> [email protected]> 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 <
> > [email protected]
> > > >> >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 <
> > > >> > >>>>>>>> [email protected]> 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: [email protected]
>
> > > >> > >>>>>>>>  --
> > > >> > >>>>>>>> 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: [email protected]
>
> > > >> > >>>>>>  --
> > > >> > >>>>>> 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: [email protected]
>
> > > >> > >>>>>  --
> > > >> > >>>>> 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:
>
> ...
>
> read more »

-- 
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: [email protected]

To unsubscribe, reply using "remove me" as the subject.

Reply via email to