<div dir="ltr"><div>I'm creating a headless render engine, which serializes whenever loadFinished() is signaled. Because of this, I'd like to understand the details of loadFinished().</div><div><br></div>There are many definitions of being "finished" when rendering a page, including:<div>1. DOM has been downloaded</div><div>2. DOM has been downloaded, resources specified in the original DOM (as opposed to other scripts or iframes) have been rendered into the page (as used in phantomjs <a href="http://phantomjs.org/api/webpage/handler/on-load-finished.html">http://phantomjs.org/api/webpage/handler/on-load-finished.html</a>)</div><div>3. The global javascript variable "window" fires the "load" event (seeĀ <a href="https://developer.mozilla.org/en-US/Add-ons/Code_snippets/On_page_load">https://developer.mozilla.org/en-US/Add-ons/Code_snippets/On_page_load</a>)</div><div><br></div><div>For QWebEnginePage, is it correct to assume loadFinished() is signaled the same as #2? If not, can anyone share their insights as to what conditions must be filled for loadFinished() to signal?</div><div><br></div><div>Many thanks!</div><div><br></div><div>Best,</div><div>Kevin</div></div>