MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
WebPagetest Forums - How to perform the ENTER keypress event

WebPagetest Forums

Full Version: How to perform the ENTER keypress event
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi.

I'm having problems with a script that I wrote. This script provides some input to the input field and then tries to press ENTER to load the respective data. Here's the script:

combineSteps
navigate http://localhost:1234
execAndWait document.getElementById('new-todo').value='Example'
sendClick id=new-todo
sendKeyPressAndWait id=new-todo ENTER

The thing is it doesn't perform the ENTER keypress event.
Can someone please help me with this?

Thank you.
Reference URL's