Examveda
Examveda

What is the purpose of using XPath in web scraping?

A. To create HTML forms

B. To manipulate CSS styles

C. To locate elements in XML or HTML documents

D. To generate JavaScript code

Answer: Option C

Solution(By Examveda Team)

XPath is used to locate elements in XML or HTML documents for scraping.

This Question Belongs to Python Program >> Web Scraping With Python

Join The Discussion

Related Questions on Web Scraping with Python