i made a tool yes its running a webbrowser how can i programme my tool so if the page i want dont fully load up and it gets stuck while its loading up and stays there hanged how do i get the page to refresh and reload the page.

1 : webbrowser1.navigate2 "example.com" the page gets hanged sometimes and stays there untill i manually press refresh.

2: how do i put in some code so the timer runs and if that page isnt loaded then refresh the page and reload till webbrowser is loaded