Selenium python Get innerhtml
element = driver.find_element_by_xpath('//*')
element = element.get_attribute('innerHTML')
marcofaga
element = driver.find_element_by_xpath('//*')
element = element.get_attribute('innerHTML')
driver.find_element_by_id('foo').clear()
element.text