Login script not working
|
02-15-2017, 07:44 PM
Post: #1
|
|||
|
|||
Login script not working
Hello, I am trying to login with the following script but unable to do so.
Could you please help me with this? navigate https://www-secure.target.com/gam-login?...omPath=%2F exec document.getElementById("logonIdMain").value="XXXXXXXXXXX" execAndWait $("#logonIdMain").trigger("focusout"); exec document.getElementById("logonPasswordMain").value="XXXXXX" execAndWait $("#logonPasswordMain").trigger("focusout"); execAndWait document.querySelector("#signin-btn").click(); |
|||
02-16-2017, 05:07 AM
Post: #2
|
|||
|
|||
RE: Login script not working
I have not used scripting a lot but, it looks like you are mixing Jquery syntax with pure javascript code. The exec* commands should contain pure Javascript code in it.
Follow me on twitter: @rakshay |
|||
02-17-2017, 07:00 PM
Post: #3
|
|||
|
|||
RE: Login script not working
(02-16-2017 05:07 AM)akshayranganath Wrote: I have not used scripting a lot but, it looks like you are mixing Jquery syntax with pure javascript code. The exec* commands should contain pure Javascript code in it. I think jquery also works with exec command because I have other scripts which are working fine with jquery. The similar script format is working for other websites like amazon and myntra. |
|||
02-22-2017, 07:23 PM
Post: #4
|
|||
|
|||
RE: Login script not working
Here's a template for authenticating with a login form:
Code: logData 0 For more info see https://calendar.perfplanet.com/2015/usi...ntication/ |
|||
01-24-2019, 03:42 PM
Post: #5
|
|||
|
|||
RE: Login script not working
Even this format i tried was not working and i don't see much error info , could some one help me to get through login
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)