Answers for "print html of element selenium"

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

Code answers related to "print html of element selenium"

Python Answers by Framework

Browse Popular Code Answers by Language