How to find a Text within a web page
-
I made a workflow that open a Chrome browser and login in a page, then i need search for a text within the page that it serves as a reference point. How can a do this?
Thank you -
Could you explain a little more about what you are trying to do ?
You can search a page for text using text() and contains() in xpath. But that will only tell you if the text exists, is that what you need ? -
@allan-zimmermann Hi!... i need get in this site, and usually i scroll down the page until i find a message from a specific person, then i clic in that link to see the full message. So i need a way to find that text, like the "Crtl +f" feature in Chrome, and the page focus in were the text appears.
Inglish is no my first language, so i'm sorry if i not been very clear -
So recording clicking the element with the text
then update the xpath to look for the same but add also [contains(text(), 'text you are looking for'] -