Skip to content

Instantly share code, notes, and snippets.

@andy3520
Created April 27, 2020 14:13
Show Gist options
  • Save andy3520/7b9f7f99b1468bf1eb6a951a8e9820ab to your computer and use it in GitHub Desktop.
Save andy3520/7b9f7f99b1468bf1eb6a951a8e9820ab to your computer and use it in GitHub Desktop.
Click accept all linkedin connect with js
const acceptButtons = document.querySelectorAll('.invitation-card__action-btn.artdeco-button.artdeco-button--2.artdeco-button--secondary.ember-view > span')
acceptButtons.forEach(acc => {
acc.click()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment