How to close the child tab using Close tab activity in UIPath

UIpath is closing the main window instead of child window,i have defined a browser variable in “attach browser activity” and passed that browser variable to “Close tab activity” still the main chrome window is getting closed,any help is highly appreciated

Also attached is the project xaml file project

Hi @Carolyn_Juliana,

Please find the solution.If you have any issues let me know.

howtoclosetab.zip (18.9 KB)

Regards,
Omkar P

2 Likes

same problem this code opening so many child tabs and closing none of them ,but thank you

changing my answer,i see you attached a attach window and inside that did close activity ,this idea worked for me,thank you ,marking as top solution

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.