Answers for "selenium print html page"

1

selenium print html

element.get_attribute('innerHTML')
Posted by: Guest on December-04-2020
1

selenium print html

elem = driver.find_element_by_xpath("//*")
source_code = elem.get_attribute("outerHTML")
Posted by: Guest on December-04-2020

Python Answers by Framework

Browse Popular Code Answers by Language