Any ideas on how to reset this code every 10-20 seconds? I'm struggling to find a solution!
I'm new to coding, so any assistance would be greatly appreciated. Here's the code:
var items = document.getElementsByClassName('btn-primary next-btn slide-transition ');
for (var i = 0; i < items.length; i++) {
items[i].click();
}