Stories from the Web Crawling trenches in contains function

How to Select Elements by Text in XPath

Author: Mohan Ganesan

Date: Jan 9, 2024

XPath is used for navigating XML and HTML documents in web scraping. It can select elements based on text content using contains function or exact match.

Tired of getting blocked while scraping the web?

ProxiesAPI handles headless browsers and rotates proxies for you.
Get access to 1,000 free API credits, no credit card required!