Just fixed the selenium server for firefox 5:
I received the link for Firefox 4 but i followed the same steps to
make it work with 5:
here is the link:
http://www.qaautomation.net/?p=245
really easy guys : follow the step below:
1.Create a directory where you could manipulate the jar’s contents.
mkdir ~/selenium103
2.Copy your selenium-server.jar file in the newly created directory
and cd into it.
cp selenium-server.jar ~/selenium103/.
cd ~/selenium103
Unzip the jar files contents here and delete the jar file.
unzip selenium-server.jar
rm selenium-server.jar
3.First find all the *.rdf files – you should see 5 of them:
find . -name "*.rdf"
./customProfileDirCUSTFF/extensions/{538F0036-F358-4f84-
A764-89FB437166B4}/install.rdf
./customProfileDirCUSTFF/extensions/
ready...@openqa.org/install.rdf
./customProfileDirCUSTFFCHROME/extensions/{503A0CD4-
EDC8-489b-853B-19E0BAA8F0A4}/install.rdf
./customProfileDirCUSTFFCHROME/extensions/{538F0036-F358-4f84-
A764-89FB437166B4}/install.rdf
./customProfileDirCUSTFFCHROME/extensions/
ready...@openqa.org/
install.rdf
4.In each of these files you will see
<em:maxVersion>3.6.*</em:maxVersion>
5.Change them to
<em:maxVersion>5.*</em:maxVersion>
6.all the files are now patched. To jar them back up run the following
steps:
zip -r selenium-server *
mv selenium-server.zip selenium-server.jar
jar -cvfm selenium-server.jar META-INF/MANIFEST.MF *
Then
1.Run Selenium server in interactive mode. To do this run the command:
java -jar selenium-server.jar -interactive -singleWindow
2.Start new selenium browser session using the command:
cmd=getNewBrowserSession&1=*firefox&2=
http://www.google.com
3.If you see a line saying Preparing Firefox profile... and no
progress beyond that, there is a high likelihood that the Firefox
browser version you have is not supported by your version of selenium
server jar you have. If you have Firefox 4 and selenium 1.0.3, the
next section shows how to fix the problem.
4.If you don’t see a problem, run the following command:
cmd=open&1=
http://www.google.com