Can we capture Page Weight (in KB) on every page load in TestComplete
Can we capture Page Weight (in KB) on every page load in TestComplete, similar to BrowserMobProxy in Selenium or YSlow add on. Basically need to access the Network information to get the page weight and page load time.
Solved! Go to Solution.
I've never done this before, but you can run JS scripts like this by running Web tests in TestComplete:
It may be worth trying to run a script that runs on the window object. Like this one:
More info on stack:
> similar to BrowserMobProxy.
Sure. Just setup your web browser to use BrowserMobProxy (or any other proxy) and you are done.
/Alex [Community Champion]
[Community Champions] are not employed by SmartBear Software but
are just volunteers who have some experience with the tools by SmartBear Software
and a desire to help others. Posts made by [Community Champions]
may differ from the official policies of SmartBear Software and should be treated
as the own private opinion of their authors and under no circumstances as an
official answer from SmartBear Software.
The [Community Champion] signature is assigned on quarterly basis and is used with permission by SmartBear Software.