WebPagetest Forums

Full Version: scripting, button click not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am trying to test page navigation using form submit, here is my html block for button selection
Code:
<form class="pre-form" name="pre-form"><input placeholder="e.g. organic chef, app developer"><button><svg><use xlink:href="/resources/img/sprites/base.svg#arrow"></use></svg></button><svg><use xlink:href="/resources/img/sprites/base.svg#search"></use></svg><h6>Search for a .com now</h6></form>
------------------------------------------

Script:
-------------------
logData 1
// bring up the login screen
navigate https://qa-test-smsi.com/

logData 1
setValue name=search vpntest
submitForm className=pre-form


the above script not working, How can I submit the form with click.

any suggestions?

Thanks
Reference URL's