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

will you support something like this: '>td:nth-child(3)'? #6

Open
kiinoo opened this issue Oct 26, 2013 · 1 comment
Open

will you support something like this: '>td:nth-child(3)'? #6

kiinoo opened this issue Oct 26, 2013 · 1 comment

Comments

@kiinoo
Copy link

kiinoo commented Oct 26, 2013

'>td:nth-child(3)'
This tool is great!

I'm thinking if we can support 'nth-child'?

e.g.

'>td:nth-child(3)'
should generate:
<td></td><td></td><td></td>

and
'>td:nth-child(3)[innerHTML="xx"]'
should generate:
<td></td><td></td><td>xx</td>

and
'>td[innerHTML="xx"]:nth-child(3)'
should generate
<td>xx</td><td>xx</td><td>xx</td>

@georgePadolsey
Copy link

perhaps instead of nth-child (which is normally used for selecting in sequences) you use a double asterix ** as in td ** 3 generates three td elements or at least some other symbol as nth-child is confusing.

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