jQuery(document).ready(function($){ //setTimeout(function(){ $('button.btn.btn-default.ng-scope').trigger('click'); console.log('DELETE'); //}, 60000); });