How do I build in the functionality as demonstrated by the comments?
// for(x=0;x<10;x++)
$('a[attr*="unique"]:first').attr('id', 'mysuperid1');
document.getElementById("mysuperid1").click();
// delay
$("span:contains(action)").parent().click();
// delay
$jq("a:contains(action)").attr('id', 'mysuperid2');
document.getElementById("mysuperid2").click();
// delay
$('input[value="action"]').attr('id', "mysuperid3");
document.getElementById("mysuperid3").click();
// delay
// back to the top of loop
(names and select / search terms have been modified)
The problem I think is like the problem found here http://darklaunch.com/2011/05/21/javascript-for-loop-using-settimeout-to-pass-argument But I can't figure out how to extrapolate what is taught on that link to contain multiple delays since I'm not a javascript developer.
This is a bot which will automate some web tasks for me.
Many thanks
queue