Question
1
Replies
172
Views
Avanade
Posted: May 31, 2018
Last activity: May 31, 2018
Closing All IE Windows
Is there a way at the beginning of an automation to essentially say, "if IE is running (or if any IE windows are open), close it".
We somehow have IE windows getting orphaned in our processes, which messes up the automation next time it runs, so we're hoping to just start off our automations by killing any IE processes that are currently running.
I guess HookChildProcesses setting will take care of that.
But if you have already tried that; a quick google search suggeted to use this command to kill all open IE
taskkill /F /IM iexplore.exe /T
http://www.avoiderrors.com/how-to-kill-all-iexplore-exe-processes-at-once/
Basically, you automation should run that command using command line and wait for output and then start your project automation.