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

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Navigation error
04-14-2020, 06:05 AM
Post: #1
Navigation error
Hi All,
I have been trying to debug this script for a few days now and thought to post here in case any one of you went through the same issue.

I'm getting navigation error on the last step. If we write combineSteps in the beginning, we can see the step actually gets executed. Without it though, it looks like the script stops executing earlier than it should. Any ideas on how to resolve this?

execAndWait document.querySelectorAll('[data-task="signin"]')[0].click();
exec document.getElementById("i0116").value='';
exec document.getElementsByTagName('input')[0].dispatchEvent(new Event("input"));
execAndWait document.getElementById("idSIButton9").click();
exec document.getElementById("i0118").value='owatest2020';
exec document.getElementById("i0118").dispatchEvent(new Event("input"));
execAndWait document.getElementById("idSIButton9").click();
execAndWait document.getElementsByClassName("ms-Button")[1].click();
Find all posts by this user
Quote this message in a reply
Post Reply 

Forum Jump:

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