So I need to open up a webpage and get all UiElements from the table. Then I need to loop thru em and do various things with them like clicks, get text and so on.
Right now I am stuck with “Find Children” which returns IEnumerable
then I try to use loop;
foreach item in children
GetText ← and in the element block I try to insert item.
but for some reason it doesnt let me because item is not UiElement. I tried to cast it as one altho it doesnt seem to work… Any ideas?
Hello,
Have You checked that argument type for your ‘item’ in ‘for each’ loop has been changed to ‘Object’ type? To be most precise you can set that argument type to ‘UiPath.Core.UiElement’.