Created
January 11, 2021 17:36
-
-
Save ananeridev/67685987e802096e1c28cbb0753c2883 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
{ | |
itens = [] | |
document.querySelectorAll('.invitation-card__action-btn.artdeco-button--secondary').forEach(item => itens.push(item)) | |
sleep = ms => new Promise(resolve => setTimeout(resolve, ms)) | |
for (item of itens) { | |
item.click() | |
await sleep(500) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment