Use Python selenium to get automated tests to throw this exception when you open Google Browser
C:\Users\think\AppData\Local\Programs\Python\Python35\python.exe f:/python/test.py
Traceback (most recent call last):
File "f:/python/test.py", line 7, in <module>
Browser.get ("http://www.yahoo.com") # Load page
File "C:\Users\think\AppData\Local\Programs\Python\Python35\lib\site-packages\selenium\webdriver\remote\ webdriver.py ", line 268, in get
Self.execute (command.get, {' url ': url})
File "C:\Users\think\AppData\Local\Programs\Python\Python35\lib\site-packages\selenium\webdriver\remote\ webdriver.py ", line 254, in Execute
Response = Self.command_executor.execute (Driver_command, params)
File "C:\Users\think\AppData\Local\Programs\Python\Python35\lib\site-packages\selenium\webdriver\remote\remote_ connection.py ", line 464, in Execute
Return Self._request (command_info[0], url, body=data)
File "C:\Users\think\AppData\Local\Programs\Python\Python35\lib\site-packages\selenium\webdriver\remote\remote_ connection.py ", line 488, in _request
RESP = Self._conn.getresponse ()
File "C:\Users\think\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 1174, in GetResponse
Response.begin ()
File "C:\Users\think\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 282, in begin
version, status, Reason = Self._read_status ()
File "C:\Users\think\AppData\Local\Programs\Python\Python35\lib\http\client.py", line 243, in _read_status
line = str (self.fp.readline (_maxline + 1), "iso-8859-1")
File "C:\Users\think\AppData\Local\Programs\Python\Python35\lib\socket.py", line 571, in Readinto
return Self._sock.recv_into (b)
Connectionreseterror: [Winerror 10054] The remote host forced the shutdown of an existing connection.
Need to download the latest version of the Chromedriver.exe, such as 2.27, you can open the normal.