Questions tagged [jssh]

The JavaScript Shell server for Mozilla (JSSh) is an extension for Mozilla browsers which allows remote users to execute JavaScript in the running browser.

The source code of JSSH is available at http://code.google.com/p/firewatir/source/browse/trunk/?r=131#trunk/Installation

You can download .xpi file from: https://code.google.com/p/firewatir/downloads/detail?name=jssh-WINNT-2.x.xpi

Details installation guide/instruction is here: https://testwisely.com/testwise/docs/multi-browser-support

14 questions
13
votes
2 answers

Alternatives to FireWatir working with Firefox 4 or higher

It seems, from what I read, that we will not have a JSSH for Firefox 4, and therefore no FireWatir. I have several scripts that run well on FireWatir, and of course I would like to update my Firefox to v4. I would hate to rewrite all my scripts in a…
carlo.borreo
  • 1,344
  • 2
  • 18
  • 35
4
votes
1 answer

Has anyone successfully run a WatiN test against FireFox 4?

It looks like the jssh plugin (required to run WatiN) still needs work going by FireFox Bug 586869, to quote: Probably obvious to anyone who ought to be trying to maintain jssh, but, to get it back all you have to do is "hg up -r…
dove
  • 20,469
  • 14
  • 82
  • 108
3
votes
2 answers

Firefox + jssh build

Has anyone been able to get anything past 4.0b1 of firefox either nightly or releases to build with jssh enabled in the .mozconfig, I get the error .js component without matching .manifest and if I change the rules I get a missing header file, which…
Jesus Ramos
  • 22,940
  • 10
  • 58
  • 88
2
votes
2 answers

getting firewatir to run on mac osx: jssh problems

I am trying to get firewatir to run on Mac OSX Leopard. I have Firefox 3.6rc2 installed but running the most simple script does not work: require 'rubygems' require 'firewatir' ff=FireWatir::Firefox.new ff.goto("http://mail.yahoo.com") i am…
z3cko
  • 3,054
  • 8
  • 40
  • 59
1
vote
2 answers

Do I need to open the firefox browser manually from the command prompt with -jssh extension and run the tests in firefox

I have installed firewatir 1.8.0, jssh 0.9 addon. Do I need to open the firefox browser manually from the command prompt with -jssh extension every time I want to run the tests in firefox? When I try to run the tests without manually opening the…
ajazz
  • 71
  • 1
  • 1
  • 12
1
vote
2 answers

Javascript/jssh issue Firefox 4.0b1

I built jssh for Firefox 4.0b1 and packaged as an xpi and installed it to my browser, when running Javascript that checks tags for a certain phrase in the onclick or onfocus events. I am getting an NS_ERROR that says component not available;…
Jesus Ramos
  • 22,940
  • 10
  • 58
  • 88
1
vote
0 answers

Watin Firefox SetAttributeValue

I'm trying to change images on a website using Watin (FireFox 3.6). The code worked fine using IE, but after installing Windows 8.1, Watin doesn't work at all on IE 11, so I switched to FireFox. The following code causes a FireFoxException/jssh…
Zackline
  • 804
  • 1
  • 9
  • 28
1
vote
2 answers

Testing Watir on Firefox throws JsshSocket::JSReferenceError

I am using Watir on Windows and when my script tries to run on Firefox, I see this error on my console: JsshSocket::JSReferenceError: Components is not definedReferenceError: Components is not defined …
picardo
  • 24,530
  • 33
  • 104
  • 151
1
vote
2 answers

Firefox JSSH Connection or very detailed compile steps on Ubuntu 64?

I'm having a hard time getting jssh and firefox to play nice on an Ubuntu Jaunty 64-bit machine. Anyone know the specific steps needed to make this work? (or, if you're using something else to get firewatir to work, I'll take those as answers as…
btelles
  • 5,390
  • 7
  • 46
  • 78
0
votes
2 answers

How to use watir gem in ruby on rails with JSSH in Firefox?

I installed watir gem in my system through gem install watir after that i Install the JSSH Firefox Extension. My question how to enable the JSSH in firefox and how to use this for testing. Thanks in advance
vinothini
  • 2,606
  • 4
  • 27
  • 42
0
votes
2 answers

Is this the proper way of denying remote connections to jssh on Linux?

I don't know if jssh has any security built-in. While testing web apps, I would only like to be able to connect to jssh from localhost. I added the following lines to iptables : iptables -A INPUT -p tcp -s 0/0 --dport 9997 -j LOG iptables -A INPUT…
Geo
  • 93,257
  • 117
  • 344
  • 520
0
votes
1 answer

How to install JSSH firefox plugin on Mac?

Thats basically my question. I have searched the internet and I have no idea! I read in a tutorial (http://www.layeredthoughts.com/automation/how-to-write-your-first-ruby-web-bot-in-watir-scraping-weather-com) that I need to install JSSH for the…
Dominic L.
  • 65
  • 1
  • 5
-1
votes
1 answer

Javascript error in jssh in Firefox 4.0b1

Using this Javascript through jssh compiled and built for the new Firefox 4.0 beta 1 returns an odd message. Here is the code (sorry if it's a little messy). In summary the code checks all frames of a Firefox window which is a test page of our unit…
Jesus Ramos
  • 22,940
  • 10
  • 58
  • 88
-2
votes
1 answer

How to access a file with a js console?

I have downloaded the windows version of the js shell from here http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/. Now if i want to run a js script and for example the file is in the "F:\projects" directory,how can i run the…
Wahid Polin
  • 101
  • 13