It works fine in the first page, but when it goes to the second page, it goes back and forth between page 1 and page 2. I tried to tweak some values with UI selector but I had no luck with it.
Could someone more knowledgeable than me give me a hand with this ?
Here is the file im using at the moment. Test.xaml (8.7 KB)
I noticed that when the page was opened on the first page, the value of title attribute was ‘Crimen organizado Archives - Fiscalía General de la Nación’.
Then, when I went to the second page, it changed to ‘Crimen organizado Archives - page 2 of 116 - Fiscalía General de la Nación’.
So, the trick here is make it works for all cases. And how we do that?
We can use wildcards. When we use asterisk(*) in selectors, it means that can be zero or a sequence of characters in its place. There is another wildcard too, it is question mark (?). This one replaces a single character.
Also, I used UI Explorer to remove unwanted attributes, such as css. And to add reliable ones, such as class=‘td-icon-menu-right’
You can go through RPA Developer Foundation course. There is a lesson there that explains how to work with Selectors.