Navigation

    OpenIAP

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups

    How to find a Text within a web page

    General Discussion
    2
    4
    24
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      beberlinx last edited by

      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

      Allan Zimmermann 1 Reply Last reply Reply Quote 0
      • Allan Zimmermann
        Allan Zimmermann @beberlinx last edited by

        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 ?

        B 1 Reply Last reply Reply Quote 0
        • B
          beberlinx @Allan Zimmermann last edited by

          @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

          Allan Zimmermann 1 Reply Last reply Reply Quote 0
          • Allan Zimmermann
            Allan Zimmermann @beberlinx last edited by

            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']

            1 Reply Last reply Reply Quote 0
            • Locked by  A az 
            • First post
              Last post