Quantcast
Channel: Active questions tagged selenium - Stack Overflow
Viewing all articles
Browse latest Browse all 98788

Selenium Chrome Driver Frame HTML doesn't match Inspector

$
0
0

Using Selenium with Chrome 78. The page I am parsing has two frames and the PDF document is embedded in the second frame. To troubleshoot I open the site in Chrome and click F12 for debugging. The source looks like this with a src="about:blank" for the second frame. Weird.

enter image description here

If I right click on the second frame and then choose "Inspect" on the pop-up menu I get something like this:

enter image description here

This one definitely has the src element that I am after. But I don't know how to get to that HTML code. Is there something different that happens with the Inspect routine? Is that processed with script? How can I get the source of the embedded PDF document?


Viewing all articles
Browse latest Browse all 98788

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>