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

BREAKING: Support for CSS-like id selector #25

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

jonnitto
Copy link
Collaborator

@jonnitto jonnitto commented Feb 8, 2024

In some enviroments, it is not as easy to get the id selector correctly written. This add the support for writing the selector for an id in a simple CSS alike way

In some enviroments, it is not as easy to get the id selector correctly written. This add the support for writing the selector for an id in a simple CSS alike way
@jonnitto jonnitto requested a review from mficzel February 8, 2024 15:25
@mficzel
Copy link
Member

mficzel commented Feb 8, 2024

I dislike the switch between xpath and selectors but get your reasoning?

how about a breaking release (major) and switch entirely to css selectors? In all cases I know we always streamed to the head anyways and never changed the default.

@jonnitto
Copy link
Collaborator Author

jonnitto commented Feb 8, 2024

If we switch entirely, we would have to include a dependency or a lot more code. Or we just say, you can select id or tags…

@jonnitto jonnitto changed the title FEATURE: Support for CSS-like id selector BREAKING: Support for CSS-like id selector Feb 10, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants