Current time: 02-26-2021, 05:36 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to perform the ENTER keypress event
12-16-2020, 10:23 PM
Post: #1
How to perform the ENTER keypress event
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)