![]() |
How to perform the ENTER keypress event - Printable Version +- WebPagetest Forums (https://www.webpagetest.org/forums) +-- Forum: WebPagetest (/forumdisplay.php?fid=7) +--- Forum: Bugs/Issues (/forumdisplay.php?fid=10) +--- Thread: How to perform the ENTER keypress event (/showthread.php?tid=16275) |
How to perform the ENTER keypress event - Bharadwaj - 12-16-2020 10:23 PM 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. |