selenium print html

49

selenium print html -

element.get_attribute('innerHTML')

selenium print html -

elem = driver.find_element_by_xpath("//*")
source_code = elem.get_attribute("outerHTML")

Comments

Submit
0 Comments