chrome-har icon indicating copy to clipboard operation
chrome-har copied to clipboard

discrepancies in Har generated from browsertime and Chorme DevTools

Open umeshPathak opened this issue 4 years ago • 1 comments

There are discrepancies in the har generated from browsertime and the one from Chrome Dev tools

Find attached the two har files run on https://www.infosys.com

I have used below commands to generate the HAR using browsertime

browsertime https://www.infosys.com --chrome.chromedriverPath D:\programs\chromedriver_win32\89.0.4389.23\chromedriver.exe --iterations 1 --headless --browser chrome --chrome.includeResponseBodies all

My chrome browser version is 89.0.4389.114 and the compatible chrome driver I used is of version 89.0.4389.23

Chrome DevTools HAR has total 143 Http Requets whereas in btime har has only 137 http requests captured.

hars.zip

umeshPathak avatar Apr 02 '21 07:04 umeshPathak

Hi @umeshPathak it is hard to compare:

  1. You need to make sure you test the exact same way (end the tests)
  2. Don't compare headless vs non headless
  3. 3rd party content delivers different on different times. When I diff the HAR files I could see that these are the ones extra: Screenshot 2021-04-03 at 07 50 59

soulgalore avatar Apr 03 '21 05:04 soulgalore