Add a timeout before taking screenshots (some UI may not be rendered immediately)