Add missing pageref attribute to HAR and end-time #306

wants to merge 2 commits into


None yet

2 participants


The pageref attribute is required to associate the requests with the appropriate pages. Without it, many tools fail to interpet the data.

Also, added the "onLoad" timer, albeit I'm not 100% sure that the way I have it there is the best way to do it. I tried adding an onLoadFinished callback, but for whatever reason, it just didn't want to fire. Any tips?

Also, I'd love to surface other data such as onDomContentLoaded - is there any way to register this callback? Or, alternatively, is there any way to get access to the performance timing data from phantom? Does the QT port support it?


I've created an issue for discussion (main reason: this GitHub pull request is not searchable at all).


Merged (as squashed). Thanks!

@ariya ariya closed this Aug 28, 2012

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment