added WAIT_AFTER_LAST_REQUEST instead of a 2000ms timeout to check the page for more accuracy