☰ See All Chapters |
XPath in Selenium - Types of XPath
XPath is the xml path of an element in the html tree along with certain conditions and attributes forming an expression. XPath is one of the locator in selenium using which we identify objects or elements when we are unable to locate the elements by using ID, class, name and tag name. If elements are not static in page and dynamically changing then XPath locator is the useful locator.
Xpath are of 2 types:
Absolute XPath
Relative XPath
Click on the below link to read that chapter
All Chapters