Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Go CircleCI Go
setInterval(() => {
if (document.querySelector('.css-1jwka9i').innerText === 'FAILED' || document.querySelector('.css-1jwka9i').innerText === 'CANCELED') {
document.querySelector('.css-1kqc31n').click()
document.querySelector('#menu-1 button:first-child').click()
console.log('Job reloaded!')
}
}, 60000)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.