Try this piece of code
myArray = browser.divs(:class,"_neveragain")
myArrayvalue = []
myArray.each do |temp|
myArrayvalue << temp.text
end
If text is present inside div , It would store the text in myArrayvalue
array.
Regards,
Velurajprabhu.B
--
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
[email protected]
http://groups.google.com/group/watir-general
[email protected]
---
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.