I am trying to play around with WPT scripting. I simulated a checkout workflow with Amazon.com (http://www.webpagetest.org/result/150109_8G_XSY/) with the following script:
navigate amazon.com
setValue name=field-keywords nexus 6
submitForm name=site-search
clickAndWait title=Google Nexus 6 (32GB, Midnight Blue)
clickAndWait name=submit.add-to-cart
clickAndWait id=hlb-ptc-btn-native
I found a couple of things that seems incorrect:
-
The film-strip view and the video, both are in the wrong order with respect to the actual timeline. For instance, the very first image in the film-strip should actually be the very last image in the actual timeline. Also many of the other images in the film-strip are in a chaotic order.
-
There doesn’t seem to be a provision to request multiple “HAR pages”. For instance, the script actually navigates through the landing page, the search result page, the item page and finally the checkout page. But, the HAR output has all the requests, but they are all mapped back to the very first landing page. This means, there is possibly no way to map back the requests to the actual base page URL which generated that request and more importantly, the page timings like “OnLoad time”, “Document Complete Time”, “First Byte Time”, “Start Render”, etc., are unavailable for each logically individual step in the transaction.
Are there any settings that might alleviate this problem? If not, are there any open tickets that might address the above issues?