WebPagetest Forums
Navigation error - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: Navigation error (/showthread.php?tid=16024)

Navigation error - Microsoft-test-account - 04-14-2020 06:05 AM

Hi All,
I have been trying to debug this script for a few days now and thought to post here in case any one of you went through the same issue.

I'm getting navigation error on the last step. If we write combineSteps in the beginning, we can see the step actually gets executed. Without it though, it looks like the script stops executing earlier than it should. Any ideas on how to resolve this?

navigate https://outlook.live.com
execAndWait document.querySelectorAll('[data-task="signin"]')[0].click();
exec document.getElementById("i0116").value='test2020perf@outlook.com';
exec document.getElementsByTagName('input')[0].dispatchEvent(new Event("input"));
execAndWait document.getElementById("idSIButton9").click();
exec document.getElementById("i0118").value='owatest2020';
exec document.getElementById("i0118").dispatchEvent(new Event("input"));
execAndWait document.getElementById("idSIButton9").click();
execAndWait document.getElementsByClassName("ms-Button")[1].click();