Hi, are there any ways to set firefox's proxy settings? I found here information about FoxyProxy but when Selenium works, plugins are unactivated in window.
A:
Preferences -> Advanced -> Network -> Connection (Configure how Firefox connects to the Internet)
David Baron
2010-05-23 00:01:08
I know this. When Selenium runs firefox window for work the connection tab with proxies is empty.
Ockonal
2010-05-23 04:05:41
A:
Look at documentation page http://seleniumhq.org/docs/09_webdriver.html
Tweaking an existing Firefox profile
You need to change "network.proxy.http" & "network.proxy.http_port" profile settings.
FirefoxProfile profile = new FirefoxProfile();
profile.addAdditionalPreference("network.proxy.http", "localhost");
profile.addAdditionalPreference("network.proxy.http_port", "3128");
WebDriver driver = new FirefoxDriver(profile);
SSH
2010-07-16 02:25:50