RE: How to set proxy for FF WebDriver?


I try this code  when  start a FF WebDriver, however it doesn’t work.Can you tell me how  to set proxy for FF WebDriver? many thanks

FirefoxProfile myprofile = profile.getProfile("profileQA");

myprofile.setPreference("network.proxy.type", 1);

myprofile.setPreference("", 8083);

Young Train Asked on September 26, 2014 in Selenium WebDriver.
Add Comment
2 Answers

Hi Young,

Below links may useful for your query.

Doctor Answered on September 27, 2014.

He knows the answer but asked…!!!. Nice work Rocky.

on September 28, 2014.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.