On Wednesday, 18 April 2012 10:24:05 UTC+5:30, Krishnan wrote:
> I dont know if you can get to work with Proxies that require
> authentication prior to allowing requests to go through.
> Thanks & Regards
> Krishnan Mahadevan
> "All the desirable things in life are either illegal, expensive, fattening
> or in love with someone else!"
> On Tue, Apr 17, 2012 at 10:35 AM, webtester <rdekleij...@gmail.com<javascript:>
> > wrote:
>> Now I use this one:
>> org.openqa.selenium.Proxy proxy = new
>> org.openqa.selenium.Proxy();
>> proxy.setHttpProxy(PROXY)
>> .setFtpProxy(PROXY)
>> .setSslProxy(PROXY);
>> DesiredCapabilities cap = new DesiredCapabilities();
>> cap.setCapability(CapabilityType.PROXY, proxy);
>> WebDriver driver = new FirefoxDriver(cap);
>> Is there a way to use a authenticated proxy ?
>> On Apr 16, 11:56 pm, webtester <rdekleijnaspi...@gmail.com> wrote:
>> > Hi,
>> > I'm using a thirdparty proxy which is secured by an username and
>> > password.
>> > FirefoxProfile profile = new ProfilesIni().getProfile("proxy");
>> > profile.setPreference("network.proxy.http", "de.p.proxy.com");
>> > profile.setPreference("network.proxy.http_port", "443");
>> > driver = new FirefoxDriver(profile);
>> > An "authentication required" dialog will appear and the username and
>> > password are completed from the firefox profile.
>> > All fine.... but,
>> > How can I accept the "authentication required" dialog ?
>> > Thanks,
>> > R
>> --
>> You received this message because you are subscribed to the Google Groups
>> "webdriver" group.
>> To post to this group, send email to webd...@googlegroups.com<javascript:>
>> .
>> To unsubscribe from this group, send email to
>> webdriver+...@googlegroups.com <javascript:>.
>> For more options, visit this group at
>> http://groups.google.com/group/webdriver?hl=en.