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

feat(selectors): has-text pseudo-class #5120

Merged
merged 1 commit into from Jan 25, 2021
Merged

feat(selectors): has-text pseudo-class #5120

merged 1 commit into from Jan 25, 2021

Conversation

dgozman
Copy link
Contributor

@dgozman dgozman commented Jan 23, 2021

This pseudo-class matches approximately when element.textContent.includes(textToSearchFor).

docs/src/selectors.md Outdated Show resolved Hide resolved
This pseudo-class matches approximately when
`element.textContent.includes(textToSearchFor)`.
@dgozman dgozman marked this pull request as ready for review January 25, 2021 19:30
@dgozman dgozman merged commit 894abbf into microsoft:master Jan 25, 2021
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