How to iterate with Selenium RC over XPath results directly?
Posted
by Gj
on Stack Overflow
See other posts from Stack Overflow
or by Gj
Published on 2010-06-11T04:35:10Z
Indexed on
2010/06/11
4:42 UTC
Read the original article
Hit count: 265
I'm currently resorting to first doing a get_xpath_count, and then creating a loop incrementing an index variable, which in turn I inject back into the original xpath to select the nth result... very awkward no doubt.
Is there some simple, direct, elegant way to iterate directly over the xpath results?
Thanks!
© Stack Overflow or respective owner