You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @xavier-medioni
thanks for creating the issue! So for redirects its been that by choice, with the idea that you choose to test one page, it redirects to the "same" page that you wanted to test.
For multi, yeah, I started to do that before but it started to get too complicated at that time. That's low prio for me but if someone is interested maybe I can guide you through it.
Thank you for your reply.
As you probably already guessed, I was trying to evaluate, from a network point of view, the cost of a potential redirect, capturing protocol events "live", and using harFromMessages.
I tried to tweak the existing harFromMessages method to add page on "Page.frameScheduledNavigation" event (maybe the most convenient event to track to detect redirects), but got stucked due to an exception because
const entrySecs = page.__wallTime + (timing.requestTime - page.__timestamp);
with page.__wallTime and page.__timestamp were null.
I noticed the use of addFromFirstRequest, (addFromFirstRequest(page, paramsWithoutPage[0]), also called into "Network.requestWillBeSent" case), but not yet sure about how to use it for this usecase.
Hi everybody !
At first, thanks for this very useful tool !
And I wanted to suggest an improvement about a multi page HAR output, and I will try to provide as many elements as possible.
Usecase:
page1.html: loading 3 images + 1 js file, redirecting to page2.html on DOMContentloaded + 500ms
page2.html: loading 2 images
With chrome-har:
With Chrome Devtools > Save all as HAR with content:
Suspicion:
Alternative / extended behaviour:
Thanks by advance !
The text was updated successfully, but these errors were encountered: