Prajwalgn-07 / pineLabsPrep

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pineLabsPrep

There are two types of xpath

  • Absolute xpath
  • Relative xpath

Absolute xpath is the direct way to find the element, but the disadvantage of the absolute XPath is that if there are any changes made in the path of the element then that XPath gets failed, but in relative xpath it will directly come to the middle of the dom specified by us and the xpath will be small

To go from child to parent using xpath

Screenshot 2021-10-14 at 1 52 19 PM

To go from parent to child using xpath

Screenshot 2021-10-14 at 1 52 45 PM

About


Languages

Language:Java 100.0%