Relative and absolute xpath?
Question
Relative and absolute xpath?
Answer
Absolute Xpath: It contains the complete path from the Root Element to the desire element. Single slash(/) is used to create Xpath with absolute path
Relative Xpath: This is more like starting simply by referencing the element you want and go from the particular location. Double slash(//) is used to represent Xpath with relative path