Forum Discussion

bnoyahr's avatar
bnoyahr
New Contributor
31 days ago

Finding Text Elements in a Webpage

I have the following html on a webpage.  I want to extract "Row: 0" and "Row: 1" etc and place them in an array. Can you suggest what I can do to accomplish this.

<span class="statusTextContainer-181">Rows: 0</span>
<span class="statusTextContainer-181">Rows: 1</span>

  • rraghvani's avatar
    rraghvani
    Champion Level 3

    Use the Object Spy tool on your UI object to see what properties and methods are exposed. There may be property values such as Cell, Row or Column which you can refer too.