Cross posting of the stackoverflow answer
Following code can be used to get absolute XPath of any webelemnt
To get parent of that element, you can just use `..`
Cross posting of the stackoverflow answer
Following code can be used to get absolute XPath of any webelemnt
To get parent of that element, you can just use `..`