Hello Trishla T,
Maybe you can make use of the html javascript snippet:
https://docs.mendix.com/appstore/widgets/html-javascript-snippet/
You can add this widget maybe to your pagelayout so you do not have to add it separately to every page.
You also need to test if this fulfills your demand because maybe the script is not directly activated when loading the page.
Hope this helps,
Good luck!
Hi Trishla,
Page load times depend highly on the client. Measuring it from javascript sounds tricky to me because the javascript itself is also part of the load time.
Using a tool like robotframework would be my first choice.
Or if the number of pages is low, it might even be doable using the developer tools of the browser. The network tab gives good measurements of network activity at least.
I hope this gives you some extra options.
Michiel