Skip to main content

Hi everyone

In a case of fallback I want the robot to do a task kill.

But a specific one

For example: if I have 2 windows of chrome 1. with one system (specific name) and the other window with a different name

and the crash happens only on one window but the task kill does the kill for both.

can I do a specific task kill? for only one window and how??

thanks for the help

Hi Daniellich

 

create a recorded new step. And in fall back step point to this step.

 

And here you can press ALT+F4 to close that session.

 

As a best practice I would never recommend to launch two different instances of chrome for automation. Better to work with one single instance.


perhaps use dos cmd n call "run program" to kill that particular chrome window, btw both having have window handle ID? in kryon when u obtain it?


This is a good approach and I agree. Just be mindful: You need to be sure the window you want to close is actually "in focus" 😉 Alternatively, you can record a step with the correct window handle (as mentioned above), then use the advanced command to get the window handle and then use the "control state" advanced command to close it. In some instances this may be safer.


Reply