Skip to content

Instantly share code, notes, and snippets.

@gouravsood
Created August 6, 2020 21:10
Show Gist options
  • Save gouravsood/79ec5253a8c0b8d852f7b994eb03bda9 to your computer and use it in GitHub Desktop.
Save gouravsood/79ec5253a8c0b8d852f7b994eb03bda9 to your computer and use it in GitHub Desktop.
Salesforce Classic Only: Javascript function to Delete AllDebug Logs from Setup
setInterval(
function() {
if (document.querySelector('span[id*="deleteAllStatus.start"]').style.display === 'none') {
document.querySelector('input[value="Delete All"]').click()
}
}
,250);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment