The role of Sleep is not to get the title. When test onPause, we need to verify it works well or not, so I get titles at short intervals.
Actually, onPageStarted and onPageFinished has the same implementation as onUpdatedTitle.
Thanks.