java -jar selenium-server.jar -Dhttp.proxyHost=xxxproxy.company.nz -Dhttp.proxyPort=8082
I could never quite get this to work.
I use the Firefox Profile Manager.
The command line is:
firefox -P
You need to do this from wherever Firefox is installed on your PC e.g.
x:\Program Files\Mozilla Firefox
When the "User Profile" box pops up, choose "Create Profile" and follow the wizard.
Run the command line again and select the new profile and then select "Start Firefox"
Configure Firefox to use a manual proxy:
Tools / Options / Advanced / Network / Settings
Configure the manual proxy to point to the proxy in your environment.
The Selenium RC command line you need to use this is:
java -jar selenium-server.jar -firefoxProfileTemplate "Path to profile created above"
GOTCHA: Remember to run the Profile manager again and select "default" to return to your normal profile otherwise any new changes will be mode to the wrong profile.
Enjoy!
4 comments:
Thanks for this, helped me enormously!
After hours and hours, even days, trying with -Dhttp.proxyHost=http://xxx.com -
Dhttp.proxyPort=xxxx, your solution runs!!!
Thank you man * 1000! XD
It exists also for iexplore?
I don't know of a Profile manager for IE. http://www.zimbio.com/Internet+Explorer/articles/oBuGnkiKDh6/How+Create+New+Web+Browser+User+Profiles
Post a Comment