Close specific window - Modern design


How to close a specific window in an application using modern design? I am automating an desktop application where I have multiple windows open, but how to close just one?
When I set “Close” to “Always” it closes the whole application in “Use application/browser”:

I have tried with “Window attach mode” set to both “Single Window” and “Application Instance” - without any success. I have also tried remove “application path” and with the selector only pointing to that specific window.

Hi @Obsev

The last option you mentioned is working for me.

Else, you can try clicking the close button of that particular window/ close the window from menu options if available.

You can check the link below.If you enable classic, close window activity might get enabled in modern design .