Created
April 25, 2013 20:41
-
-
Save patelc75/5462973 to your computer and use it in GitHub Desktop.
this will check all the boxes for the Add Contact modal on http://www.ringcentral.com/
This file contains hidden or 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
checkboxes = document.getElementsByClassName("x-form-checkbox-box"); | |
for (var i=0; i < checkboxes.length; i++) { | |
checkboxes[i].getElementsByTagName("img")[0].click(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
you can paste the whole thing all at once into the browser inspector command line