How to select HTML elements by text using CSS Selectors?

Unfortunately, it's impossible to select values by text using standard CSS selectors. However, many CSS selector clients used in web scraping implement extra functions to enable this useful functionality. For more see:

Provided by Scrapfly

This knowledgebase is provided by Scrapfly — a web scraping API that allows you to scrape any website without getting blocked and implements a dozens of other web scraping conveniences. Check us out 👇