Lets see maybe using pluralism of ruby

myArray = browser.divs(:class,"_neveragain")



On Thursday, March 12, 2015 at 4:30:27 AM UTC-5, Vish wrote:
>
> Hey,
>
> I'm trying to sieve through all the div elements in a page and print the 
> content of all those whose class value is "_neveragain". How do I test for 
> equality in the browser, since element access is usually done as div(class: 
> "_neveragain")?
>
> 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