Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am unable to run the web driver via a proxy server, right now i am using the following code. Can suggest any changes???

profile = webdriver.FirefoxProfile()
profile.set_preference("network.proxy.type", 1)
profile.set_preference("network.proxy.http", "10.3.100.211")
profile.set_preference("network.proxy.http_port", "8080")
profile.update_preferences()    
browser = webdriver.Firefox(firefox_profile=profile)
share|improve this question
1  
Have you tried this answer? –  Laur Ivan Sep 27 '13 at 13:42
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.