Trying to get the XPath of a Dom exact element that is clicked.
Attempt: I have a function called createXPathFromEl