RE: Can not found url thorough selnium webdriver

Hi,

I am trying to access some url though driver.get(“http://some url.com.”);  but Firefox gives me error. Firefox can’t find the server at www.some url.com. There are some proxy seetings. Please can someone give me accurate solution?

Note: Firefox can connect to sites like facebook.com and other sites but this is company site.

Thanks

Riffat Default Asked on September 4, 2014 in Selenium WebDriver.
Add Comment
1 Answers

Hi Riffat,

You have not specified what type of OS you are using. I have given the answer for firefox browser in ubuntu OS.

The problem is incorrect processing proxy exclusions. Default Ubuntu exclusions are located in no_proxyenvironment variable:

But it seems that /8 mask doesn’t work for selenium. To workaround the problem it is enough to changeno_proxy to the following:

Removing proxy settings before running python script also helps:

Hope it will help you.

Regards,
Vaidy

Doctor Answered on September 5, 2014.
Add Comment

Your Answer

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