function Deneme(){
for (var i = 0; i < 24; i++) 
{
    (function(index) {
        setTimeout(function() 
        {
             
            document.getElementsByClassName('_2ZiaF_L9 _38HuCGJV')[index].click(); 
            setTimeout(function()
            {
                document.querySelectorAll('button[title="Trial use"]')[0].click();
            }, 1500);
            setTimeout(function()
            {
                document.querySelectorAll('button[type="submit"]')[1].click();
                 
            }, 3500);
        }, i * 10000);
         
    })(i);
$(".sonrakiSayfa ").click();     
}
}
$(".sonrakiSayfa ").click(function(){
Deneme();
});
Böyle bişey denedin mi ? İstersen bi iframe oluştur iframe içinde o sayfayı çağır öyle kullandır session storage kullanımını tam bilmiyorum