Le 9 nov. 2009 à 10:01, Soori a écrit :
>
> Hi All,
>
> I would like to capture all the links under a particular div class.
>
>
> could you please help me in this front.?
>
> Thanks
> Soori
>
Hello soori,
You should use the links method as a sub element of your div (read the
doc Luke). Should be something like this:
@browser.div(:class /yourclass/).links.each do |link|
some code here...
end
Regards
--
Frédéric de Villamil
"What's mine is mine. What's yours is still unsetteled" – Go player
proverb
[email protected] tel: +33 (0)6 62 19 1337
http://t37.net Typo :
http://typosphere.org
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---