<.https://www.edureka.co/community/6764/get-html-source-webelement-selenium-webdriver-using-python?show=6767#a6767>
<http://schema.org/text>
"You can read&#160;innerHTML&#160;attribute to get source of the&#160;content&#160;of the element or&#160;outerHTML&#160;for source&#160;with&#160;the current element.Python:element.get_attribute('innerHTML')Java:elem.getAttribute(\"innerHTML\");C#:element.GetAttribute(\"innerHTML\");Ruby:element.attribute(\"innerHTML\")JS:element.getAttribute('innerHTML');PHP:$elem.getAttribute('innerHTML');Tested and works with the&#160;ChromeDriver"
<https://www.edureka.co/community/6764/get-html-source-webelement-selenium-webdriver-using-python>