Set Browser Property for close tab outside attach browser activity?



I am trying to close the browser out of browser scope and get the following error:

Set its browser property value string type cannot be converted to UIPath.Core.Browser. ???


Hey @Prateek

Try this and let me know :slight_smile: Browser_close.xaml (6.4 KB)



Don’t create variable from variable pane unless your sure about the data type.
Please hit CTL+K in output variable property and type variable name which will create data type of UiBrowser implicitly.


that worked perfectly fine thannks