in Use Application/Browser activity, a UiElement can be passed back as output. I’m trying to figure how how I can make use of that for testing, etc. Is there a way I can extract the url from that element in code?
I’ve tried out_Browser.Get(“url”) and it errors. I get:
Attribute not supported by the current UiNode.
I want to do this as code, not an activity. Anybody have any idea how I can do this?
ppr
(Peter Preuss)
August 15, 2024, 6:41pm
2
when out_Browser is of DataType: UiElement you can analyze it within the immediate panel
and check for all available attributes by
out_Browser.Attributes
then you will see if an url related attribute is offered or not. Kindly note: Attribute names are case sensitive
Thanks to @ppr for pointing the way here. The easy answer is:
out_Browser.Get("URL")
ppr
(Peter Preuss)
August 15, 2024, 7:07pm
4
@Terry_Marr
perfect so when case sensitive attribute name did the trick, then let’s close the topic by marking the solving post
Forum FAQ - How to mark a post as a solution
This document is part of our beginners guide .
This article will teach you how to properly mark a post as a solution.
We were closely following our last UiPath Forum feedback round! topic and carefully extracted all the bits of feedback that was provided. As such, we would like to tackle the topic of solutions on our Forum and how to properly use them.
When is the topic resolved?
The topic can be considered resolved when the topic author has fo…
system
(system)
Closed
August 18, 2024, 7:07pm
5
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.