How to check console logs in WebPageTest?

TILWebPageTest

I was writing a script that was passing for me when I run them in Chrome Developer Tools Console but the same wasn't working in the WebPageTest Inject JavaScript section. After struggling with understanding why that might be happening, I thought there must be a better way to understand what's going on. Well, I didn't find a very good way but I found that the nice old way of spreading console.logs at various places, is useful in WebPageTest also.

This is available under Snapshot(somewhat unintuitive) section on WebPageTest Report Page.

https://nooshu.github.io/images/wpt-waterfall-chart/console-log-panel.webp

Source: https://nooshu.github.io/blog/2019/10/02/how-to-read-a-wpt-waterfall-chart/#how-to-view-the-consolelog-information-from-a-test

... Loading comments