On Jul 15, 2021, at 10:55 PM -0700, Yureshwar Ravuri
<
yure...@gmail.com> wrote:
>I am talking about single page applications which has xmlhttp requests
>which needs to fetch the dynamic data and then render the page. How do
>we detect such js executions too are completed when we are navigating
>the user automatically.
If the history is changing, you may be able to use an `onpopstate`
handler to detect page changes in a single-page application:
https://developer.mozilla.org/en-US/docs/Web/API/WindowEventHandlers/onpopstate
--
*"This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify the
sender immediately"*