To run a script after a page refresh, follow the steps below.
If you want the script to run after a page refresh, checkmark the option Click element after page refresh. If you want to run the script at each countdown interval (without an actual page refresh), leave the checkbox empty.
Click the Start button to begin the countdown.
The above steps will run your script at each countdown interval. If you also checkmarked the option to Click element after page refresh, the page will first refresh, and then run your script.
The key to running a script after a refresh is to include the line document.querySelector('body'); followed by a setTimeout() which contains the code that you want to execute on the page. You can run any code that you like within the setTimeout() method to perform any number of actions, such as clicking advanced buttons or elements on the page, changing css styles, and much more.