There is a webpage where I would like to access the iframe source to download a file.
The problem is, there is no src attribute in the iframe or its html, it’s inside #document. How to I get the link from inside #document?
example:
<iframe title=“PDF Preview”>
#document (url is here)
<!DOCTYPE html>
<html>
<head></head>
<body>
<embed src=“about:blank”>
</body>
</html>
</iframe>
I can switch to the iframe but I can only retrieve attributes within the tags html, head etc. but I’m not able to get the link inside #document. Is there a way to retrieve/go to the url inside #document?