Hi! I have a problem with selectors in Whatsapp web and I cannot solve it. I need your help.
The point is, I have created a xaml that writes a message into web.whatsapp.com, and now I want to wait until I see that the receiver has read it. In order to do so, I need to “get Attribute” of those little check marks on the right bottom corner of LAST MESSAGE. And here it comes the problem. I am able to point this element, however when I run the xaml and it writes down my message, when it comes to wait and examine the state of delivery (sent, delivered or read), my project looks at the previous message box, the one I used to indicate where to look at when I was coding.
I show you the IU Explorer.
You see, “aria-label” is the characteristic I need, however it is imposible to me to get rid of idx. In this case it equals 9 because there were 9 boxes of just “sent” messages when I created the activity, however, right now there are 10 (9 + this last one I wrote down in my last testing of the xaml). If I put an asterisk here, instead of 9, the problem is that Uipath does not know which box to check the delivery status, and “aria-label” dissapears and it is impossible for Uipath to get this value. However, if I keep “idx=9”, Uipath will look to this specific “9th” box, not the one I am really interested in (which is last one in the queue).
Anybody could help me?
Thank you very much for your patience…