Page 1 of 1

Delay between browserNavigateComplete and actual url load

Posted: Mon Sep 28, 2020 7:29 pm
by simon.schvartzman
Hi, after spending a good time trying to detect when a page has really finished loading on the Browser Widget I put together this very simple attached stack

It seems the message I should be using is "browserNavigateComplete" but according to one of the definitions in the dictionary (there are two definitions :D ):
The browserNavigateComplete message is sent to the widget's script object when the browser successfully navigates to a new page. The pUrl parameter contains the URL of the new page.
So it doesn't necessarily means that the page has really been loaded on the screen.

As I'd like the user to be unable to do anything until the page is in fact fully loaded and completely shown on the screen I don't know how to proceed.

Not sure what am I missing and I will really appreciate suggestions

Regards

p.s.: I'm on LC 9.6.1