<iframe id="xyz" src="https://www.XXXXXX.com/" allowfullscreen="yes" style="width: 100%; height: 100%;">
#document
<!DOCTYPE html>
<html>...</html> // a whole new HTML document
</iframe>
I tried the below code, but I am not able to access the inner HTML content. Please guide.
docu=driver.find_element_by_xpath("//*[@id='asdfghg']").find_element_by_tag_name("iframe")
print(docu.get_attribute("innerHTML"))