1) Make sure that the Iedriverserver executable file is in the system environment variable path
2) on IE7 and above versions of Internet Explorer, you must ensure that the protection mode is configured correctly. Set the mode to Tools->internet options->security. Each of the different zone's protectedmode needs to be consistent, either enabled or non-enabled
3) The scale size of Internet Explorer must be set to 100% so that native mouse events work correctly in the correct coordinate system
If you previously forgot to configure the path of the downloaded Iedriverserver executable to path, there is also a way to tell the program where to find the Iedriverserver executable, the code is as follows
System.setproperty ("Webdriver.ie.driver", "D:\Driver\IEDriverServer_ win32_ 2.37.0_ latest\iedriverserver.exe");
Considerations for configuring Internet Explorer Driver