I am capturing the the text inside a div as mentioned below,

<div><div class="testing_1">
<div>test data2</div>

ie.div(:class, "testing_1).text  captures the information on a single

I would like to print it as shown on the html above.

I got stuck in this.Please show me a way to proceed.

Thanks in advance,


You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to
Before posting, please read the following guidelines:
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to