Skip to content Skip to sidebar Skip to footer

Selenium Chromedriver - Http 407 On Driver.quit()

I am behind a proxy server. Using Selenium 2.39, Python 2.7.6 and ChromeDriver 2.9, whenever I call .quit() on an instance of Chrome, I get an HTTP 407 error. No such error occurs

Solution 1:

Since I wasted several hours today trying to track down a solution, I thought I'd document what worked for me. I fixed this problem by opening Internet Options > Connections > LAN settings > Advanced and inserting 127.0.0.1 into the Exceptions box. After doing this, chrometest.py completed without error and the ChromeDriver window was successfully closed.

Credit for this solution should go to the question-asker here. Oddly enough, this question never appeared in my searches. It appeared in the Similar Questions section when I was nearly finished typing up the original version of this question (go figure!).

Solution 2:

This is an issue on Chrome browser. The following steps will give you the fix.

1| Uncheck the Check Box, By Proxy server for local address

enter image description here

2| Click on Advanced Tab

enter image description here

3| Enter 127.0.0.1 under Exceptions panel

4| Click ok

Post a Comment for "Selenium Chromedriver - Http 407 On Driver.quit()"