Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save soluml/60550c5189c2eb60b02a71c82112f91d to your computer and use it in GitHub Desktop.
Save soluml/60550c5189c2eb60b02a71c82112f91d to your computer and use it in GitHub Desktop.
for(let i = 0, ln = $('button.delete-design').length; i < ln; i++) {
setTimeout(() => $('button.delete-design').click(), 1000 * i);
setTimeout(() => $('[id="confirm-delete-yes"]').click(), 1500 * i);
}
@soluml
Copy link
Author

soluml commented Jun 15, 2016

Helps remove some of the extra controllers. Depending on the latency of your network, it may not clear them all, but re-running it will eventually get them all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment