TAG command stops when confirm dialog is opened.

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.

Moderators: Community Moderators, iMacros Moderators

Forum rules
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

TAG command stops when confirm dialog is opened.

by phire on Thu Jun 27, 2013 8:14 am

There is a link like this:
Code: Select all
<a onclick="if( !confirm('Logout?') ) { return false; }" href="http://www.xxx.com/login.php?type=logout">
      Logout
</a>


When i record the steps in firefox. It is ok and gives the following script:
Code: Select all
TAG POS=1 TYPE=SPAN ATTR=ID:gb_menu_icon
ONDIALOG POS=1 BUTTON=OK CONTENT=
TAG POS=1 TYPE=A ATTR=TXT:Logout


However, when I replay the script by imacros browser, it gets stuck at the line "TAG POS=1 TYPE=A ATTR=TXT:Logout" and doesn't go any further.

Is this a bug?
Or is there any way to prevent this?
phire
 
Posts: 7
Joined: Thu Feb 07, 2013 1:19 am

Return to General Support & Discussions

Who is online

Users browsing this forum: Yahoo [Bot] and 6 guests

cron
-->