Hey guys,

I'm trying to get all divs in a page with class = "_again" and print the 
text that follows. How do I do this? 

For eg., I got some help on the #watir IRC suggesting I do the following:

for i in browser.divs(class: "_again").each do { |div| puts div.text }

But I'm getting numerous syntax errors!

Can I get some help on this?

Thanks,
Vish

-- 
-- 
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.

Reply via email to