I’m want to close the browser window of my application if it is already open before I run the automation. How can I do that since, if condition requires only boolean value.
Welcome to our UiPath community.
Use Kill Process activity to close the browser window and mention Process name as below.
Chrome - “chrome”
Internet Explorer - “iexplore”
MS Edge - “msedge”
1 Like
HIb @Jalan_Pranav
For getting an bool Value.
you can use “Element Exist Activity”
Indicated the appropriate browser → Create an output variable in the properties panel (BoolBrowser)
You can use “IF condition” → BoolBrowser
Then → “Kill Process”
Hope it will help you
Regards
Gokul
3 Likes
This worked. Thank you so much.
1 Like
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.