Added auto-refresh feature to automatically refresh the results when running tests after the page has finished loading