I'm trying to click a "Download CSV File" button, and then save the resulting file. comment("####### WHEN BUTTON APPEARS, CLICK IT & DOWNLOAD ###########") wait for browser event("Everything Loaded",#CB_MaxWait) if($exists(<name="ctl00$Content$ExportButton$imgExportCSV">)) { then { comment("########## DOWNLOAD FILE #########################") click(<name="ctl00$Content$ExportButton$imgExportCSV">,"Left Click","No") comment("######### SAVE DOWNLOADED FILE ########################")