Answers for "selenium element print html"

0

selenium python get innerhtml

element = driver.find_element_by_xpath('//*')
element = element.get_attribute('innerHTML')
Posted by: Guest on May-21-2020
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 "selenium element print html"

Python Answers by Framework

Browse Popular Code Answers by Language