mtlive adlı üyeden alıntı: mesajı görüntüle
$(".sonrakiSayfa ").click(); ekle sonra yine dosyaların indirme kodunu çalıştır
can44 adlı üyeden alıntı: mesajı görüntüle
session storage browser tabı için session olusturur yani isteğinizle alakasız sonraki sayfada class isimleri vs. değişiyo olmasın?
mtlive adlı üyeden alıntı: mesajı görüntüle
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


Denedim yazdıklarınızı + olarak aşağıdaki kodu denedim ancak çözemedim hala.

function Deneme()
{
    for (var i = 0; i < 2; 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);
    }
    setTimeout(function()
    {
        document.getElementsByClassName('_36I3CjyO _635CaDn5')[2].click(); 
    }, 1500);        
}
Deneme();