Demo-JavascriptDialog

From iMacros
Jump to navigation Jump to search

Click and fill Javascript dialogs

Macro Code

TAB T=1
TAB CLOSEALLOTHERS
SET !REPLAYSPEED MEDIUM
URL GOTO=https://demo.imacros.net/Automate/Dialogs 
ONDIALOG POS=1 BUTTON=YES
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnDialog 
ONDIALOG POS=1 BUTTON=YES
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnConfirm
ONDIALOG POS=1 BUTTON=OK CONTENT=orange   
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnPrompt 
ONDIALOG POS=1 BUTTON=YES
ONDIALOG POS=2 BUTTON=YES CONTENT=blue
ONDIALOG POS=3 BUTTON=YES
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnThreeStep 
WAIT SECONDS=3     
TAG POS=1 TYPE=INPUT:BUTTON ATTR=NAME:btnResetColor