Looking to see if I can get some insight. I an opening a URL and it launches a security javascript function which just provides a system privacy disclaimer (OK/Cancel), nothing in seems to be able to ‘identify’ this box to reference a confirmation function. The logic never progresses to the next command (send ${KEY_ENTER} to select OK) because the page never loads, I’ve tried reducing the page wait settings and it just loses heartbeat and says macro fail.
How do I specifically turn off implicit waiting? I would rather send the open URL command and manually build in a pause/wait, etc.
I agree with @commensal, having the URL would be best.
If you can not share it, then I suggest you try the new XType command to send ${KEY_ENTER}. Unlike the standard Javascript sendkey, XType does not operate on the page, so the command should be executed ok. Please let us know if this solution works for you.
Ok, I see the problem now: By design, the open command implicitly waits for the page to load, which never happens in your case. So as you said, you need some kind of “negative”WaitForPageToLoad command.
Luckily this can be done with the storeEval command and some Javascript:
You’ve solved the main issue! The script continues to run after redirecting to my intended destination. I added the pause and by time the pause expires the dialog box has appeared, however the XType !{KEY_ENTER} isnt closing the javascript box even though I could hit Enter myself at that point and it closes. Suggestion?