jQuery click() - not working more than once : Beginner stuff :)

I want to add auto-scrolling to header images here: https://listify-demos.astoundify.com/classic/listing/the-drake-hotel/

So `document.querySelector('.slick-next').click();` can do the click and I'm trying to get it working in a loop.

Running the following in JS console:

    function myscroller()
    {
    document.querySelector('.slick-next').click();
    }
    for (var i = 1; i < 10; ++i) {
    myscroller();
    }
I thought it's supposed to click the next button 10 times, but it clicks it only once. What's that I'm missing?