MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - Docs? Over 10 years old?

WebPagetest Forums

Full Version: Docs? Over 10 years old?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
There's a couple issues I'm encountering with the Docs for Scripts. Maybe this tool isn't for my Single Page App. And I need something else. But here goes:

I'm trying to get past the Login Page so I can setup tests on specific functions. But the Docs reference things that no longer exist... I.e.

"You can test a script in the desktop version by selecting "Run Script" from the File menu."

Where do I get this "desktop version". I see no other reference to it except a dead one from 2012.

The example given for doing a login and test is on:

navigate http://webmail.aol.com

But the steps, page, etc do not match so it doesn't work. I was able to get this site and another to work, but my site does not.

I can get content in my username/password but the "Login" button is not getting clicked.

<form class="login-form form-horizontal">
<.....>
<a class="btn base-web-button" type="submit" id="login_btn">Login</a>

I've tried:
clickAndWait id=login_btn
clickAndWait innerText=Login
submitForm class=login-form
submitForm name=login-form
clickAndWait value=login_btn

Nothing is working, help. Here's my full script:

logdata 0
navigate https://local.mylocal#site.com // altered for security
setValue id=loginEmail myuser@gmail.com
setValue id=loginPassword myuserpassword
clickAndWait id=login_btn
logdata 1
sleep 10
navigate https://local.mylocal#site.com
SPA's tend to disassociate the HTML controls from their own data store so create unique scripting challenges

This article might help you https://css-tricks.com/recipes-for-perfo...bpagetest/
Reference URL's