Skip to content

:has and :contains selector not working in 'find elements' of 'Elements' tab of Chrome Dev Tools #5155

Answered by mgol
rajndev asked this question in Q&A
Discussion options

You must be logged in to vote

jQuery has multiple selector extensions so you can't expect jQuery selectors to work natively in the browser. In particular, the :contains pseudo-class is not supported natively.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rajndev
Comment options

Answer selected by mgol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #5154 on November 02, 2022 22:57.