Metric for TTFB is different in private instance when executed on mobile and Desktop.
My Script :
logData 0
navigate Robot or human?
execAndWait document.querySelector(‘[name=“email”]’).value=‘webpagetest_10_items@gmail.com’
exec document.querySelector(‘[name=email]’).dispatchEvent(new Event(‘blur’));
execAndWait document.querySelector(‘[name=“password”]’).value=‘XXXX’;
exec document.querySelector(‘[name=password]’).dispatchEvent(new Event(‘blur’));
execAndWait document.querySelector(‘[data-automation-id=“signin-submit-btn”]’).click()
sleep 10
logData 1
navigate Robot or human?
When I run the script in mobile device… it gives me correct TTFB, but if I run it on Desktop (Chrome,FF, IE), it gives me TTFB of 0. Upon investigating HAR, it looks like I get TTFB of beacon.walmart.com instead of ‘/cart’ .
Why would there be a difference in Desktop and Mobile.
One reference test for public instance of wpt of similar test WebPageTest Test - WebPageTest Details
Any help in investigation is appreciated
Attaching 2 screenshots
Desktop[attachment=828]
Mobile[attachment=827]