I'm trying to get the xpath of the element on the page, and I can't find it in the html code of the page (the Inspect button is not avaliable, too). I was wondering if there is any function to get the xpath of the button that I press in Selenium WebBrowser. For example, if I press the "python" button, I want Selenium to write to console something like: "Button pressed! The xpath: ..."
Is there any possibility to do that?