XPath Contains, AND OR, Parent, Start with, Axes in Selenium Web driver

XPath is a language used to locate nodes in XML documents.

XPath can also be used as a substitute when you do not have a suitable id/name attribute for the locator element.

XPath also allows you to select individual elements, attributes, and some other parts of XML documents for specifying the location of a particular web element.