Extract Html

For example,

https://www.uipath.com on this site.

image

How do you extract these data? If found, I would like to make a structure to return it to True.

I tried to see several posts in the forum contents, but failed

@kanmz

You can try using ger attribute with whole window selector on lang

Cheers

2 Likes

get attribute Activity on the attribute with name lang along with a manually postedited selector

2 Likes
  1. Use the “Find Element” activity to locate the HTML element that contains the “en” data.
  2. Add a new “Get Attribute” activity and specify the output variable “langAttribute”.
  3. Use an “If” activity to check if the “langAttribute” value is equal to “en”.
  4. If “langAttribute” is “en”, then create a new structure or object with a Boolean value of “True”.
  5. Return the structure or object as the output of the workflow
2 Likes

@ABHIMANYU_THITE1
I don’t see any elements to choose from on that site.

with the solution mark we would assume that the suggestion was working if not have a look here:


we manually edited and used under the parent selector
<webctrl tag='HTML' />

2 Likes

@ppr
Cheers!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.