Created
August 10, 2009 13:46
-
-
Save stevebartholomew/165193 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/Desktop | |
wget http://release.seleniumhq.org/selenium-remote-control/1.0.1/selenium-remote-control-1.0.1-dist.zip | |
unzip selenium-remote-control-1.0.1-dist.zip | |
echo 'Copying in latest selenium' | |
sudo cp selenium-remote-control-1.0.1/selenium-server-1.0.1/selenium-server.jar /usr/local/lib/ruby/gems/1.8/gems/Selenium-1.1.14/lib/selenium/openqa/selenium-server.jar.txt | |
echo 'Removing dirs' | |
rm -rf selenium-remote-control-1.0.1* | |
echo 'Done!' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/lib/ruby/gems/1.8/gems/webrat-0.4.4/vendor/ | |
echo 'Patching selenium-server.jar...' | |
sudo jar xf selenium-server.jar customProfileDirCUSTFFCHROME/extensions/[email protected]/install.rdf | |
echo '.' | |
sudo jar xf selenium-server.jar customProfileDirCUSTFFCHROME/extensions/{538F0036-F358-4f84-A764-89FB437166B4}/install.rdf | |
echo '.' | |
sudo jar xf selenium-server.jar customProfileDirCUSTFFCHROME/extensions/\{503A0CD4-EDC8-489b-853B-19E0BAA8F0A4\}/install.rdf | |
echo '.' | |
sudo jar xf selenium-server.jar customProfileDirCUSTFF/extensions/readystate\@openqa.org/install.rdf | |
echo '.' | |
sudo jar xf selenium-server.jar customProfileDirCUSTFF/extensions/\{538F0036-F358-4f84-A764-89FB437166B4\}/install.rdf | |
echo '.' | |
echo 'Replacing version numbers' | |
sudo replace "3.0.*" "3.*" -- `find . | grep rdf` | |
echo 'Rejarring' | |
sudo jar uf selenium-server.jar customProfileDirCUSTFFCHROME/extensions/[email protected]/install.rdf | |
echo '.' | |
sudo jar uf selenium-server.jar customProfileDirCUSTFFCHROME/extensions/{538F0036-F358-4f84-A764-89FB437166B4}/install.rdf | |
echo '.' | |
sudo jar uf selenium-server.jar customProfileDirCUSTFFCHROME/extensions/\{503A0CD4-EDC8-489b-853B-19E0BAA8F0A4\}/install.rdf | |
echo '.' | |
sudo jar uf selenium-server.jar customProfileDirCUSTFF/extensions/readystate\@openqa.org/install.rdf | |
echo '.' | |
sudo jar uf selenium-server.jar customProfileDirCUSTFF/extensions/\{538F0036-F358-4f84-A764-89FB437166B4\}/install.rdf | |
echo 'Done' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment