Use Application/Browser Return Browser Object

I am exploring this connector and usually use Attach Browser which allows me to output the browser object for use elsewhere. Is that feature not included here and if it is how do i use it?

Hi,

We can use InputElement and OutputElement property in it instead of Browser property.

img20210517-1

Regards,

How does that allow me to attach from a new location, I usually pass the browser object from the first step to the next step and connect instead of with a url, do you have format if I can cast the element property as the browser object?

Hi,

It seems Use Application/Browser doesn’t return browser object and difficult to convert UiElement to UiPath.Core.Browser, too. So If you open URL using Use/Application Browser activity, need to use Use/Application Browser after it.

Or as UiPath.Core.Browser has Element property, the following may work.
First open URL using Open Browser and output Browser variable. (Let’s say brs).
Then attach it using Use Application/Browser activity using brs.Element in Input Element.

Regards,

Not that hard really uiElement.GetBrowser as mentioned here