Created
March 16, 2025 15:25
-
-
Save israelalagbe/5a963b5672c0b567529f007d3163d3f9 to your computer and use it in GitHub Desktop.
Automate invitation to follow your page on linkedin
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
myItems = $('[aria-label="Select connections to invite"]').children | |
for(const index in myItems) { | |
const item = myItems[index] | |
item.scrollIntoViewIfNeeded(); | |
item.getElementsByTagName('input')[0].click(); | |
await new Promise((resolve, reject) => setTimeout(resolve, 100)) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment