Good day.
I'm currently automating GMail website and I need to open a message based on its displayed text.
I don't have a problem on getting the texts, I'm having a hard time creating the right selector/element that consists the underlined texts.
Hopefully you can help me.
Thanks!
I'm not too sure I follow, what are you trying to achieve?
If you are just trying to read those elements into a variable using the "Get details of an element" and even the "Extract data from webpage" actions can get you the text.
Use the Email related actions available in PAD versus using UI automation for Gmail.
As @VJR mentioned, you may have better results using the dedicated email actions, here are some options using Cloud Flow as well as Desktop Flow.
Gmail - Connectors | Microsoft Learn
Email - Power Automate Desktop | Microsoft Learn
For context, here are the actual steps needed to be taken by the Robot.
Sample of Google Alerts Message
Now, the reason I need to open the actual Google Alerts is because the message needs to be extracted in tabular form and I don't know if it can be done using other built in functions but I have already done it using the "Extract Data from Webpage"' action.
My problem is I cannot click my target messages from the Inbox as I'm having a hard time making the right selector. The selector needs to include the Sender=Google Alerts, Subject=Merger (ie), Mini Header, and Datetime received.