sendKeyDownAndWait not working
|
01-20-2017, 09:42 PM
Post: #1
|
|||
|
|||
sendKeyDownAndWait not working
Hello,
sendKeyDownAndWait command is not working in a search bar. Link of the site is below: http://www.target.com/ clickAndwait and javascript is also not working. Please help me with this issue. |
|||
01-24-2017, 01:21 AM
Post: #2
|
|||
|
|||
RE: sendKeyDownAndWait not working
If the page already has jQuery on it you can use the same approach I used on the Trainline site
It's about half way through this deck - https://ldnwebperf.org/sessions/using-we...instances/ Andy Using WebPageTest - http://usingwpt.com/ |
|||
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
Hello,
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") |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)