Current time: 02-27-2021, 01:47 PM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
sendKeyDownAndWait not working
01-24-2017, 10:02 PM (This post was last modified: 01-25-2017 02:46 PM by shraddha.)
Post: #3
RE: sendKeyDownAndWait not working
Thank you for the reply.

Jquery is working in console, but not in webpagetest.
Following is the script I am running.
I am running it for payment page.
As $("#cardNumber").keydown() wasn't working I tried with other Jquery commands and they are working in console.

execAndWait $("#cardNumber").trigger("focusin")
execAndWait document.querySelector("#cardNumber").value="XXXX XXXX XXXX XXXX"
execAndWait $("#cardNumber").trigger("focusout")
execAndWait document.querySelector("#expiry").value="05/25"
execAndWait $("#expiry").trigger("focusout")
execAndWait $("#cvv").trigger("focusin")
execAndWait document.getElementById("cvv").value="***"
execAndWait $("#cvv").trigger("focusout")
execAndWait document.getElementById("cardName").value="Pappy Pp"
execAndWait $("#cardName").trigger("focusout")
Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
sendKeyDownAndWait not working - shraddha - 01-20-2017, 09:42 PM
RE: sendKeyDownAndWait not working - shraddha - 01-24-2017 10:02 PM

Forum Jump:

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