Appactivate Powershell, Above code snippet (derived from the one in question) refreshes microsoft-edge every 15 seconds.