Last active
June 23, 2016 16:07
-
-
Save derekwheee/785f054f8b4de9fd5f494c2a8ad7fbb7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var els = document.getElementsByTagName("button"); | |
for (var i = 0; i < els.length; i++) { | |
if (els[i].textContent === 'Delete Request') { | |
els[i].click(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment