Skip to content

Instantly share code, notes, and snippets.

@musketyr
Last active Aug 29, 2015
Embed
What would you like to do?
angular.forEach(angular.element('.glyphicon-flash'), function(runAction, index) {
setTimeout(function() {
angular.element(runAction).click()
}, 1000 * 2 * index)
setTimeout(function() {
angular.element('.modal-dialog .btn.btn-primary').click()
}, 1000 * (2 * index) + 1)
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment