I want to get the xpath & css_selector of an element. Is there a property of the element that I can use?
Please note, I am not trying to find the an element by xpath or css selector. I already have the element, I want to know what its xpath / css_selector is.
Many thanks
I have read the documentation here: https://selenium-python.readthedocs.io/locating-elements.html... and could not find the answer.