Skip to content

Instantly share code, notes, and snippets.

@musketyr
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save musketyr/70be39b1fbaf5e0697da to your computer and use it in GitHub Desktop.
Save musketyr/70be39b1fbaf5e0697da to your computer and use it in GitHub Desktop.
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