Created
May 18, 2025 14:13
-
-
Save nihat-js/724870343e9938093282c1336161f5b5 to your computer and use it in GitHub Desktop.
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
| async function clickWithDelay() { | |
| const items = temp1.querySelectorAll("a .option.remove"); | |
| for (const item of items) { | |
| item.click(); | |
| await new Promise(resolve => setTimeout(resolve, 1000)); // wait 1 second | |
| } | |
| } | |
| clickWithDelay(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment