Open wf-soft opened 3 years ago
Maybe it's because the content in ifram is empty. How can I load the ifram completely without opening a new window。
Sorry, I haven't tested iframes yet.
When you use DOMContentLoaded directly in C#, it should fire when the document is fully loaded, but the resources not yet.
Maybe you could try with the NavigationCompleted event instead.
Yes, it seems that the contents of the iframe cannot be obtained。
Even if the page is fully loaded, I can't get it from window.document Get htmliframeelement content
Maybe this is a cross domain problem
For example, when I click the button to run JS, I find that what I get from the document content is not the final document content, it is a document when some content is not fully loaded