Hi, I have faced this issue many times on Linux, currently I work on Mac and I have to say that there are all the time problems running Firefox with Watir / FireWatir.
Sometimes I need to install JSSH few times - and magically after some tries it works :) Whenever I have the error ' Unable to connect to machine : 127.0.0.1 on port 9997. Make sure that JSSh is properly installed and Firefox is running with '-jssh' option ' the problem is that the Firefox is already running. So its best to KILL IT using: killall firefox-bin After that Firefox works well. I need to perform this action after each test as Firefox sometimes stays in cache so good approach is to create a symlink in your .bash_profile as: alias kf='killall fiefox-bin' and be sure to kill all instalnces firefox before running the test. Hope that will help, GS On Aug 11, 5:20 pm, Brad <[email protected]> wrote: > Hello All, > > I've read and followed all the instructions on how to get Watir to run > on Linux with FireFox. > > I'm using: > Ruby version 1.8.7 > The Linux plugin jssh-3.6.x-Linux.xpi > FireFox 3.6.8 > Watir 1.6.5 > > When I do: > require 'rubygems' > require 'watir' > > Watir::Browser.default = 'firefox' > b = Watir::Browser.new > This brings up the FF Browser, yippie! > But I get the dreaded: Unable to connect to machine : 127.0.0.1 on > port 9997. Make sure that JSSh is properly installed and Firefox is > running with '-jssh' option > > In the instructions it says to do: ./firefox-bin -jssh > I'm kind of new to Linux but when I run that command I get an error "./ > firefox-bin: No such file or directory" > > Hence Telnet isn't working either. > > Any help would be appreciated. > > Thanks. > > Brad -- 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: [email protected]
