how to view the html of selenium webdriver code example
Example: selenium python get innerhtml
element = driver.find_element_by_xpath('//*')
element = element.get_attribute('innerHTML')
element = driver.find_element_by_xpath('//*')
element = element.get_attribute('innerHTML')