I’m trying to set a selector and for some reason it doesn’t work.
For example this page:
At the bottom there is pagination row and I want to select page 6
(will replace with dynamic, but first I want to set the best selector for static).
I’m using latest IE. I open new browser, then attach the page.
So the automatic selector created by UiPath is:
This validates, but it’s a very shitty selector for at least 2 reasons:
It uses idx when it can be avoided, and for the aaname attribute it wrongly uses the class name!!
when aaname should be ‘6’.
I would like to have my selector like this:
which, although uniquely identifies the element, doesn’t work.
Or someting similar would be fine too, but you get the idea.
Any hints would be appreciated.