I am trying to program in Java a class to start my Selenium Server, if for some reason it does not work. I found very good help here: http://www.testingexcellence.com/how-to-start-selenium-server-with-java-code/
I see that some configuration parameters can be set using the RemoteControlConfiguration class and methods such as setPort, setLogOutFileName, setTimeoutInSeconds, ...
The problem is that my Selenium Server connects to the proxy in this way:
java -jar selenium-server.jar -Dhttp.proxyHost=my.proxy.com -Dhttp.proxyPort=8080
Unfortunately, I did not find how to put this in Java code. My question is: is it possible to set the values of proxyHost and proxyPort in java?
Thanks for your time =)
} {Panacea
source share