Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Track page render moment
Track page render moment
Page is rendered some time before document ready. How could we track the moment when page is rendered (but not yet "ready")?
- salvadordf
- Posts: 4575
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Track page render moment
Hi,
I don't recall any event that is triggered at that moment but perhaps this will be enough for you.
Try the TChromium.OnLoadEnd and check that the frame.IsMain to know when the main document has finished loading.
Using the TChromium.OnBeforeResourceLoad could be useful to know when Chromium is trying to download the first resource after the main document. That would tell you when Chromium has parsed the document up to a point when it can start downloading other resources like images, scripts, etc.
I don't recall any event that is triggered at that moment but perhaps this will be enough for you.
Try the TChromium.OnLoadEnd and check that the frame.IsMain to know when the main document has finished loading.
Using the TChromium.OnBeforeResourceLoad could be useful to know when Chromium is trying to download the first resource after the main document. That would tell you when Chromium has parsed the document up to a point when it can start downloading other resources like images, scripts, etc.