I have the following script that I run on Console mode in Chrome to automatically click on some buttons on the webpage. But I want to add a delay after each click so that it won't click all buttons at once. Please let me know how to proceed.
[].slice.call(document.querySelectorAll('.button')).forEach(function(button) {button.click();});