A long time did not use Chromedriver to do a little function, and then open the previous script on the following error:
Traceback (most recent call last):
File "d:/data/projects/myprojects/selenium_test/chrome_test/chrome_driver_test.py", line <module>
Test2 ()
File "d:/data/projects/myprojects/selenium_test/chrome_test/chrome_driver_test.py", line Notoginseng, in Test2
Driver.get ("https://www.baidu.com")
File "C:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 213, in Get
Self.execute (command.get, {' url ': url})
File "C:\Python27\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 199, in Execute
Response = Self.command_executor.execute (Driver_command, params)
File "C:\Python27\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 395, in Execute
Return Self._request (command_info[0], url, body=data)
File "C:\Python27\lib\site-packages\selenium\webdriver\remote\remote_connection.py", line 426, in _request
RESP = Self._conn.getresponse ()
File "C:\Python27\lib\httplib.py", line 1136, in GetResponse
Response.begin ()
File "C:\Python27\lib\httplib.py", line 453, in begin
version, status, Reason = Self._read_status ()
File "C:\Python27\lib\httplib.py", line 409, in _read_status
line = Self.fp.readline (_maxline + 1)
File "C:\Python27\lib\socket.py", line, ReadLine
data = SELF._SOCK.RECV (self._rbufsize)
Socket.error: [Errno 10054]
Can download the latest version of the Chromedriver.exe version, I am here 2.27, and then normal.