Set Browser Property for close tab outside attach browser activity?

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

Hey @Prateek

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

Regards…!!
Aksh

1 Like

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.

1 Like

that worked perfectly fine thannks