What is an XPath?
Question
What is an XPath?
Answer
XPath is used to locate a web element based on its XML path.
The fundamental behind locating elements using XPath is the traversing between various elements across the entire page and thus enabling a user to find an element with the reference of another element.