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

Missing 'Attributes' parameter #57

Open
egor0829 opened this issue May 11, 2022 · 1 comment
Open

Missing 'Attributes' parameter #57

egor0829 opened this issue May 11, 2022 · 1 comment

Comments

@egor0829
Copy link

selectorTypes = ['ID', 'Class', 'Tag', 'NthChild'],

Hello! Shouldn't there be 'Attributes' parameter here, which is used in

case 'Attributes':
?

@tathastu871
Copy link

You can add Attributes but then Attributes will have more preference over others
in result you will get is path from body in form of nthchild

eg
body > :nth-child(3) > :nth-child(1) > :nth-child(1) > :nth-child(1) > :nth-child(1)

Its to use it only in extreme conditions where all other parameters fail for uniqueness

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