Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IsNthOfType does not support Nth of matching elements #14

Open
ntrown opened this issue Jan 7, 2015 · 1 comment
Open

IsNthOfType does not support Nth of matching elements #14

ntrown opened this issue Jan 7, 2015 · 1 comment

Comments

@ntrown
Copy link

ntrown commented Jan 7, 2015

Looking at the code for IsNthOfType it currently only supports finding the Nth element of the elements parent->children.

Consider: div[@id='rr_soc_top'][1]

This xpath is saying find all divs with id='rr_soc_top' and return the first match.

If the html document has, say 2, div[@id='rr_soc_top'] spread throughout the document then IsNthOfType does not work for this scenario.

@PatrickHuetter
Copy link

I have the same problem. +1 for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants