In case you are wondering this actually beats the game:
setInterval(() => Array.from(document.querySelectorAll('.main-btn, .upgrade-icon, .press-collect, .press-btn, .collect')).forEach(item => item.click()), 50);
After around level 40 things get very very slow.