Web Page Dialogs
Top  Previous  Next

Related example macro: Demo-OnWebPageDialog

Web page dialogs are similar to Javascript dialogs, except they display HTML content. iMacros can control them using the ONWEBPAGEDIALOG command. Since web page dialogs can contain any number of buttons or boxes, you can automate them by sending a specific list of keyboard commands to them. For example KEYS=Hello{ENTER}{CLOSE} will enter the word "Hello" on the dialog, press ENTER key and then close the dialog.

During replay,
ONWEBPAGEDIALOG KEYS={WAIT<sp>2}{CLOSE} is active by default to close unwanted ad dialogs.

Note: Web page dialogs are not normal HTML browser windows. Therefore they do not open in a separate tab, but pop up in front of the current window.



Page URL http://www.iopus.com/imacros/help/dialog_web_page.htm