WebPagetest Forums
logData 0-steps after logData 1 possible? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: logData 0-steps after logData 1 possible? (/showthread.php?tid=10241)



logData 0-steps after logData 1 possible? - nilskuhn - 12-21-2011 12:08 AM

Hi,

is it possible (and leads to valid measurements) to perform steps in a script with a logData-sequence like:

Code:
logData 0
navigate ...
logData    1
exec    document.getElementById('TconInEmail').value='myUserName';
exec    document.getElementById('TconInPassword').value='myPassword';
execAndWait document.getElementById('b_login_with_password').click();
logData    0
execAndWait    $("img[alt='Send Order']")[0].click();

So in other words: Is it possible to perform steps not to measure afterwards the step to measure?

Regards, Nils


RE: logData 0-steps after logData 1 possible? - pmeenan - 12-21-2011 12:10 AM

Should be but honestly since it's not being measured and nothing after that step is measured there isn't much use unless you need it to reset some back-end state (like clear out the shopping cart).


RE: logData 0-steps after logData 1 possible? - nilskuhn - 12-21-2011 12:16 AM

That's exactly what I need: There shouldn't remain articles in shopping cart.