python+selenium Automatic opening ie Browser time , Report errors :ConnectionResetError: [WinError 10054] The remote host forced an existing connection to be closed .
from selenium import webdriver
driver = webdriver.Ie()
driver.get("www.baidu.com")
In execution driver = webdriver.Ie() An error is reported at this time
ConnectionResetError: [WinError 10054] The remote host forced an existing connection to be closed
IEDriverServer.exe Downloaded , Environment variable added .
then ie The security level of the browser is set , The default size of the browser is 100%.
python edition 3.10 ,selenium edition 3.10
Do you have a good brother to tell you what the problem is ?
Before writing this article ,