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

Comparison with prior art #2

Closed
dandv opened this issue Aug 20, 2015 · 4 comments
Closed

Comparison with prior art #2

dandv opened this issue Aug 20, 2015 · 4 comments
Assignees
Labels

Comments

@dandv
Copy link
Contributor

dandv commented Aug 20, 2015

I'm looking for a library to generate unique CSS selectors for DOM elements in an arbitrary page (see 1, 2, 3, 4).

In case you looked at existing alternatives before coding a new one from scratch, how does this library compare with @martinsbalodis's css-selector, which started development before this one and even has almost the same name, which suggests you might have searched for it.

@fczbkk fczbkk self-assigned this Aug 23, 2015
@fczbkk
Copy link
Owner

fczbkk commented Aug 23, 2015

This was fun: https://github.com/fczbkk/css-selector-generator-benchmark

@dandv
Copy link
Contributor Author

dandv commented Aug 26, 2015

Thanks for the detailed comparison with @olivierrr's library.

Forgot to mention - Chromium's also has a cssPath library.

@dandv
Copy link
Contributor Author

dandv commented Aug 26, 2015

BTW, thanks again for your work on this. I've posted an answer on this SO question, trying to create awareness that generating unique and relatively robust selectors is a non-trivial problem. The repo had 11 stars at the time.

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

No branches or pull requests

2 participants