Skip to content

Instantly share code, notes, and snippets.

@Chiamaka
Created December 8, 2016 19:32
Show Gist options
  • Save Chiamaka/06692e44db94a55be3c5f6bc650682f9 to your computer and use it in GitHub Desktop.
Save Chiamaka/06692e44db94a55be3c5f6bc650682f9 to your computer and use it in GitHub Desktop.
[...document.querySelectorAll('.invite-card')].forEach((card) => {
const acceptBtn = card.querySelector('.bt-invite-accept');
acceptBtn.click();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment