$('.quickview.dui-menu-item').each(function(){
$(this).click();
delaytime()
})
function delaytime(){
for( i=0;i<=100000;i++){
}
}
$('.quickview.dui-menu-item').each(function(){
delayinseconds(10000);
})
function delayinseconds(second){
setTimeout(void(), second)
}
async function delay() {
//delay start here
await new Promise(resolve => setTimeout(resolve, 10000));
// put code here for after delay
}
delay();