> <div class="grid_8 alpha participant-info-fields">
> <label for="grandTotal"><b>Grand Total:</b></label>
> $10,280.55
> </div>
This is the html that I am trying to get to the $ amount.
I have tried //label[@for="grandTotal"]/child::node()
This only highlights the GrandTotal text. Since there is no attribute for the $ amount, I am not able to locate it.
PS: I can get to the node with the following: **//*[@id="planForm"]/div[3]/h3/div/text()**
but this does not work since Selenium only works with Element nodes.