Selenium ChromeDriver - HTTP 407 on driver.quit()

前端 未结 2 821
日久生厌
日久生厌 2021-01-23 04:16

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 su

相关标签:
2条回答
  • 2021-01-23 04:49

    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

    0 讨论(0)
  • 2021-01-23 05:08

    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!).

    0 讨论(0)
提交回复
热议问题