Copy selenium-server.jar file to a directory where you can modify it's contents
cp selenium-server.jar /modified/Unzip the selenium-server.jar files
cd /modified
unzip selenium-server.jarWe need to patch five instances of a file called ‘install.rdf’. These files can be found at the following locations in the extracted ‘selenium-server.jar’ archive:
/customProfileDirCUSTFF/extensions/{538F0036-F358-4f84-A764-89FB437166B4}/install.rdf
/customProfileDirCUSTFF/extensions/readystate@openqa.org/install.rdf
/customProfileDirCUSTFFCHROME/extensions/{503A0CD4-EDC8-489b-853B-19E0BAA8F0A4}/install.rdf
/customProfileDirCUSTFFCHROME/extensions/{538F0036-F358-4f84-A764-89FB437166B4}/install.rdf
/customProfileDirCUSTFFCHROME/extensions/readystate@openqa.org/install.rdf
In each of these files you will see
<em:maxVersion>3.5.*</em:maxVersion>After patching all the above file, zip the folder and rename it to .jarChange them to<em:maxVersion>3.6.*</em:maxVersion>
zip -r selenium-server *Now include this modified jar into your project and your selenium server should now able to run your application on FireFox 3.6.
mv selenium-server.zip selenium-server.jar
0 comments:
Post a Comment