getting outerhtml using selenium code example
Example 1: selenium print html
element.get_attribute('innerHTML')
Example 2: python selenium get html content
element.get_attribute('innerHTML')
element.get_attribute('innerHTML')
element.get_attribute('innerHTML')