I have a Moodle website that I want to log into and then measure a page load speed.
I have been using the following script to achieve this:
setValue id=username xxxxxxxxxxxxx
setValue id=password xxxxxxxxxxxxx
I replaced the username and passwords with the actual username and password or should they be encoded?
I cannot seem to get past the login page.
Any help you can give me is greatly appreciated.
So I mostly use the exec script command to manipulate DOM elements when I script these days so I’d do something like this for the above case
Thanks a million for your help Andy.
Your script is working as intended now.
This is an excellent example, thank you for posting this. It would be worth adding this as an example in the docs - https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting#TOC-MyAOL-Authenticated-profile