I have been unable to get For Each UI Element to select the of a page.
When attempting, it either grabs the or it grabs each individual
Even after editing the Strict selector in the right pane inside UiPath, it doesn’t respect that and instead goes back to the original TD. I’m not sure why editing the selector isn’t working.
Any thoughts on how to get this working or if another activity is better?
Appreciate the input. Do I have to do some console style editing to get the TR element more selectable? UiPath is still just selecting either the TBODY or the TD
For Each UI Element does not always respect manual selector edits because the activity is driven primarily by the Target Filter and UI Tree structure, not only by the Strict selector.
That’s why even after editing the selector, UiPath may “snap back” to the original <td> elements.
This usually happens when:
The browser’s UI tree structure changes during iteration
UiPath thinks your edited selector does not uniquely identify the element
The target anchor is defined implicitly by the UI framework, overriding your edits
The Filter is too broad, so UiPath picks every child element instead