twhitehouse
11 years agoContributor
'Process "ieexplore" stayed in the system after the close command was used."
 At seemingly random times in my script, Internet Explorer will remain opened.   I also have a loop to loop through all browsers on the system.  In this loop, 2 internet explorer processes are actuall...
- 11 years ago
Not sure if you are killing the browser or the process. But ....
https://support.smartbear.com/viewarticle/72799/
Is a good starting point.
 - 11 years ago
I use this code to close internet explorer (Jscript):
while(Sys.WaitProcess("iexplore").Exists){ Sys.Process("iexplore").Close(); }It may take a few loops before it actually closes, but I consider it a cleaner more stable way than to abruptly kill the process with Terminate().