-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Element.cssSelector
stop returning value #root
after upgrading to 1.17 from 1.14
#2082
Comments
#root
after upgrading to 1.17 from 1.14Element.cssSelector
stop returning value #root
after upgrading to 1.17 from 1.14
It seems the behavior was broken in this commit 9170b1d where
@jhy was there any reason behind that? |
Yes, as noted in the comment if you're getting a selector for an element it is going to descend from Can you tell me more about your use case - what do need a Document selector generated from a Document for? Perhaps we could change the cssSelector method to return |
Also - returning So I'm confused that you're hitting an issue here; would be great to get some more details. |
Closing. |
Hi team,
After upgrading from v1.14.3 to 1.17.1 I ran into an issue where
Element.cssSelector
stopped returning value#root
for element with tag name#root
. I have found nothing relevant in the release notes indicating the change of behavior.Example
Output v1.14.3
Output v1.17.1
The text was updated successfully, but these errors were encountered: