[Wtr-general] Alternative for getElementsByClassName
Vamsee Krishna M
cooldudevamsee at gmail.com
Fri Dec 15 06:41:46 EST 2006
Hi,
I am using water nightly build(watir-1.5.1.1127). I have an Ajax app with
more than 500kb of DOM in size. I need to get a bunch of table cells with
specified class name. And I can't find any method equivalent of
getElementsByClassName in watir. I tried to do the stuff with XPATH but As
far as I know I can get only one element at a time using the method cell
(:xpath, <xpath expr>). I also tried a last cruel method using regex since
because of my apps DOM is very large Its not practical to roam around the
entire dom.
So If anybody have any solution please reply me with your solution.
Thanks.
Regards,
Vamsee Krishna
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20061215/3c9c3c9b/attachment.html
More information about the Wtr-general
mailing list