<human>:  Get HTML Source of WebElement in Selenium WebDriver using Python
<bot>: Here is some code to get html source of Selenium WebElement `element`

element.get_attribute('innerHTML')

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.