I would like to automate a click in a javascript file used to convert xlsx to csv.
I will provide a snippet of the script that gives the alert. After the alert is given, is there any way to click yes to what is being asked automatically? I am using this to create a formatting utility.
// Determine whether or not linefeed characters should be removed.
var msg = "Would you like to remove linefeed characters from all cells?";
var title = "Remove Linefeed Characters";
var removeLf = alert.Yes == alert(msg, title, alert.YesNo + alert.Question);
// Click 'Yes' button here.