unhandled alert dialog detected

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
Post Reply
dgonser
Posts: 3
Joined: Tue Sep 16, 2014 4:55 pm

unhandled alert dialog detected

Post by dgonser » Tue Sep 16, 2014 5:18 pm

I am using iMacros for FireFox and got the following error:

RuntimeError: unhandled alert dialog detected. Dialog message: "", line 19 (Error code: -1450)

Line 19 in the macro is as follows:

EVENT TYPE=CLICK SELECTOR="HTML>BODY>FORM>DIV:nth-of-type(4)>DIV>DIV>DIV:nth-of-type(5)>DIV:nth-of-type(2)>TABLE>TBODY>TR>TD>TABLE>TBODY>TR>TD>TABLE>TBODY>TR>TD>DIV>DIV>DIV:nth-of-type(2)>TABLE:nth-of-type(2)>TBODY>TR>TD>INPUT" BUTTON=0

I'm new to recording and using iMacros and I'm not sure what this error means.
skippyto
Posts: 108
Joined: Wed Aug 20, 2008 8:14 am

Re: unhandled alert dialog detected

Post by skippyto » Mon Sep 22, 2014 9:28 am

Hi

You should use ONDIALOG or ONERRORDIALOG (depending on the kind of dialog box you have) just before your line 19 to handle the popup and interract with it.

http://wiki.imacros.net/ONDIALOG
http://wiki.imacros.net/ONERRORDIALOG

Skippyto.
Post Reply