Set Browser Property for close tab outside attach browser activity?


#1

Hi,

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. ???


#2

Hey @Prateek

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

Regards…!!
Aksh


#3

Hi,
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.


#4

that worked perfectly fine thannks