I was trying to write a test case to verify context on the page.
There are several iterating like this
<form>
<div id="line1_R1" style="display:none;">text line 1 </div>
<div class="labelText nonLabelText pos y15 x1" style="white-space: nowrap; width:20.00ex;">text line 1 </div>
<div id="line1_R2" style="display:none;">text line 1 </div>
<div class="labelText nonLabelText pos y16 x1" style="white-space: nowrap; width:20.00ex;">text line 1 </div>
...
</form>
Is there a way I could extract all the string from the div whose id starting with <line1_R + index> and merge them together? Or is it possible to use attribute instead as locator?
Many thanks