WebPagetest Forums
Unable to login to site - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: General Discussion (/forumdisplay.php?fid=25)
+--- Thread: Unable to login to site (/showthread.php?tid=16096)



Unable to login to site - performance_app - 06-12-2020 05:18 AM

Hello,

I'm trying to login to my site to test the performance with the below script but it does not login and I receive a message " Test Data not found" . Below is the script used. What am I missing with the clickandWait? It does not click the login button.

logData 0
// bring up the login screen
navigate https://www.xyz.com
logData 1
// log in
setValue name=username xyz
setValue name=password test
clickAndWait innerText=LOGIN

DOM ELEMENT :

<button class="btn btn-primary btn-block"><span class="px-2">LOGIN</span><!--bindings={
"ng-reflect-ng-if": "false"
}--></button>