I have a script on a Raspberry Pi 2 that launch a webpage on Epiphany at startup and sometimes the progress bar get stuck at 90% approximately and doesn't show the entire webpage.
¿How can I detect this behavior to do something about it? I know how to refresh the screen but, how can I detect that the progress bar was not complete after 60 seconds, by example, to refresh the page?