The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.2.19-0ubuntu0.18.04.2 (Linux)
File Line Function
/showthread.php 802 errorHandler->error



Current time: 08-26-2019, 03:00 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Navigation Error when scripting
02-23-2019, 08:48 AM
Post: #1
Navigation Error when scripting
I've tried a variety of techniques to log in to a website using scripting. For example:

logData 1
SetEventName Goto Login
navigate https://www.example.com/secure/login
logData 1
SetEventName Set Username
setValue id=username testUser
logData 1
SetEventName Set Password
setValue id=password password
logData 1
SetEventName Submit Form
clickAndWait id=signInBtn
//execAndWait document.forms[0].querySelector('button[id=signInBtn]').click()
//submitForm id=signInForm

The id values are correct, I've checked multiple times. Every step after "Goto Login" results in "Error: Navigation Error". Obviously, it fails to log in -- If I finish the script off with a "navigate" to a page only accessible by logged in users, I'm sent to a generic, non-logged in page. What is going on?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Navigation Error when scripting - MadCowMoo - 02-23-2019 08:48 AM

Forum Jump:


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