Step 1 is adding support for custom user timings, since a selenium scripts walking through a flow on a SPA doesn’t generate multiple HARs it generates 1 HAR.
We recently upgrade our version of FireFox used by RBC, allowing us to leverage the custom user timings API to collect metrics and then report/graph/alert on them. We are planning our SPA/custom user timings project nowMartin Breest commented
What we already have is the possibility to define steps (such as "Wait for element visible"), which is really helpful for measuring single page app load times. What we need is the possibility to also overwrite the default load time with the time of a successfully achieved step (from start to achieved step for example).
Another option would be to support user timings https://www.w3.org/TR/user-timing/ and let us configure in the real browser configuration which user timing time should overwrite the default load time.
The specific problem I have right now is that I am not able to reliably measure the load time of https://www.spreadshirt.com/design-your-own-t-shirt-C59 for example.Martin Breest supported this idea ·